[squeak-dev] Passing value to external program

Ang BeePeng beepeng86 at yahoo.com
Wed May 19 14:50:53 UTC 2010


Hi,

Many thanks for helps that I get, I'm able to store objects in Squeak.dll
and use it with a exteranl program, main.exe.

Now I have Squeak.dll responding to main.exe. Say if I need a line, with
startPoint, endPoint, colour etc.. I will ask Squeak.dll to create an object
from Class Line, return the pointer to exe. While in exe, line is a struct
that have sqPointer, startPoint, endPoint, etc.

Say if I have a function that ask Squeak to move the line. Squeak
object(line) will then move, and instance variable endPoint will be change.
There, Squeak should notify exe to update its value.

What should I do to achieve that? Simple variable pass in? or maybe
call-back? Event notification?

Thanks for your valuable opinion.

Ang Beepeng 
-- 
View this message in context: http://forum.world.st/Passing-value-to-external-program-tp2222974p2222974.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.



More information about the Squeak-dev mailing list