[REBOL] Re: External library interface
From: ptretter:charter at: 3-Jul-2003 10:40
Actually, the idea is to pass a "pointer" to a callback function to an
external library. My thinking is that if we can have a pointer to a
routine! and pass that to an external function it could then execute that
code and return whatever value we define. Look at the EnumWindows function
in the Windows API for more information on what I'm talking about. There is
a work around for EnumWindows that I have found but for creating services on
windows - callbacks are required of which I have not found a work around.
----- Original Message -----
From: "Maxim Olivier-Adlhoch" <[maximo--meteorstudios--com]>
Sent: Thursday, July 03, 2003 9:35 AM
Subject: [REBOL] Re: External library interface
thanks everyone for the memory poking code, boy would I have used it last
year, when I did my scsi disk interface code ... !
It was working but I had a lot of fun getting it to work.
Paul, that callback idea is great... opening rebol views from external
but isn't there a problem with the GC though?, if we do that?
meteor Studios, T.D.
Strong enough for a man, but made for a woman