[squeak-dev] Re: FFI: get function address?

Andreas Raab andreas.raab at gmx.de
Fri Mar 26 03:27:54 UTC 2010

On 3/25/2010 7:50 PM, Schwab,Wilhelm K wrote:
> Does Squeak/Pharo FFI offer a way to get the address of a function in a library?  The target of interest is probably more of an exported global containing a pointer, but GetProcAddress() worked on Windows, and I am assuming a similar trick will be required on Linux.

You mean generically? No, there isn't. You need to call 
LoadLibrary/GetProcAddress or dlopen/dlsym on your platform.

   - Andreas

More information about the Squeak-dev mailing list