Re: EuGTK Crashes Attempting to Use FileSelector in Windows
- Posted by jimcbrown (admin) Aug 27, 2015
- 1135 views
euphoric said...
UPDATE 2: It's crashing here in GtkEngine.e:
if method[RETVAL] > 0 then -- it's a GTK func result = c_func(method[VECTOR],args) --<-- can't get past this switch method[RETVAL] do
That's as far as I can debug.
As a workaround, print out the value of method[VECTOR] and write down the one that gets printed right before it crashes.
Then change the code to do this:
if method[RETVAL] > 0 then -- it's a GTK func ? method[VECTOR] if (method[VECTOR] != saved_value) result = c_func(method[VECTOR],args) --<-- can't get past this else -- skip the call to avoid the crash end if switch method[RETVAL] do
While this may not solve the problem, it should get you a little further.