How to return via buffers using FFI?

Ned Konz ned at bike-nomad.com
Sun Sep 8 00:25:41 UTC 2002


On Saturday 07 September 2002 05:03 pm, Andreas Raab wrote:

> > * declare the length parameters as 'ulong*' and pass numbers
>
> Of course not! Where would you expect the result to be stored?!
> Somewhere in Squeak's object memory?! ;-)

Yeah, I stopped doing that when I thought about it...

Thanks for your help; I got it working...

BTW, has anyone already done this (provided the Windows registry API 
for Squeak's use)?

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE




More information about the Squeak-dev mailing list