[squeak-dev] shared object between main.exe and Squeak.dll

Ang BeePeng beepeng86 at yahoo.com
Fri Apr 23 05:22:33 UTC 2010

Hi all,

I build a Squeak.dll. A main.exe call Squeak.dll, passing in Smalltalk
string or selector, Squeak.dll execute it, and return an object pointer to
main.exe. main.exe then can use the object, send a message to that object

I tried with SmallInteger, it works fine, since the object body is within
the object header. But for normal object, it is meaningless if I kept object
pointer at main.exe. GC will definitely recycle it since there's no
reference to that object. 

I need to be able to use the object pointer back in Squeak.dll all the time.
Any idea how can this be done? Any advise? 

Thank you so much in advance. 

Ang Beepeng
View this message in context: http://forum.world.st/shared-object-between-main-exe-and-Squeak-dll-tp2023185p2023185.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.

More information about the Squeak-dev mailing list