FFI crashing the VM while running a Win32Window example

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FFI crashing the VM while running a Win32Window example

Igor Stasenko
 
Try this:

Win32Window getFocus messageBox:'Are you ready???' title:'News from
Squeak:' flags: 3

Is following correct & expected?

Win32Window getFocus getHandle size  ==> 0

Win32Window byteSize ==> 0

seems like it doesn't parsing the fields correctly, resulting a handle size = 0.
fields
        "Win32Handle defineFields"
        "The following really means
                typedef void* Win32Handle;
        "
        ^#(nil 'ulong') "an opaque 32bit handle"



--
Best regards,
Igor Stasenko AKA sig.