[cffi-devel] CFFI (SBCL) bug with dynamic definition of the foreign function

Serhiy Yakovyn syakovyn at gmail.com
Fri Aug 6 15:47:19 UTC 2010


Hello all,

 

I have the following snippet of code that doesn't work as expected under
SBCL 1.0.29, CFFI 0.10.5 and Windows 7.

 

(let ((library (cffi:load-foreign-library "user32.dll")))

  (cffi:foreign-funcall "GetDesktopWindow" :int)

  (cffi:close-foreign-library library)))

 

I have also tested it under LispWorks and CCL - no issues.

Could  anybody suggest the workaround?

 

Thanks,

Serhiy Y

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20100806/4600c114/attachment.html>


More information about the cffi-devel mailing list