Re: euGtk in windows
jacques deschĂȘnes wrote:
>
> The message is:
> c:\euphoria\include\gtk2\wrapper.e:127 in procedure gtkmain()
> A machine-level exception occurred during execution of this statement
>
> the exception arise during execution of gtk_main() function.
> My guess is that it crash when calling the callback handler for the button.
> If I don't set a callback it doesn't crash.
Have you checked the calling convention of the call_back? Everything's
cdecl in linux, but in windows, you'll get a stdcall call_back by default.
I don't know what gtk2 uses on windows, but I suspect it's likely to be
cdecl.
It would most likely crash after your callback returns (because that's
when the stack corruption occurs).
Matt
|
Not Categorized, Please Help
|
|