On 12/19/06, Hoehle, Joerg-Cyril Joerg-Cyril.Hoehle@t-systems.com wrote:
Jack, you must roll your own. Luckily, you can do so. Use CFFI as soon as you get the address (pointer) of the function in the library that is of interest to you. Given that pointer, CFFI provides enough glue to be able to construct (call) a foreign function out of it, e.g. foreign-funcall-pointer. Also, use CFFI to obtain that pointer (via GetProcAddress() if all else fails).
Yep, that's a good idea.
Or use #+ to write native def-call-out forms for several Lisps that support the library argument?
That's also a possibility.
Thanks everyone for your thoughts on this problem.