[Vm-dev] FFI crashing the VM while running a Win32Window example

Igor Stasenko siguctua at gmail.com
Mon Apr 26 01:56:15 UTC 2010


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.


More information about the Vm-dev mailing list