cffi-devel  

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

Serhiy Yakovyn
Fri, 06 Aug 2010 09:14:28 -0700

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

_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel
  • [cffi-devel] CFFI (SBCL) bug with dynamic definition of the foreign function Serhiy Yakovyn