| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| On Mon, 2008-10-06 at 11:46 -0400, Kenny wrote: > Lars Rune Nøstdal wrote: > > On Sun, 2008-10-05 at 19:22 -0700, dsblizzard@gmail.com wrote: > > > >>How can I invoke WinAPI functions from Lisp directly (without McCLIM > >>and other wrappings)? I use CLisp and SBCL. > > > > > > Yup, see CFFI: > > http://common-lisp.net/project/cffi/ > > > > > > ..or if you don't care about or need portability between Lisps you can > > use the FFI stuff in CLISP or SBCL directly: > > > > http://www.sbcl.org/manual/Foreign-F...Interface.html > > http://clisp.cons.org/impnotes.html#dffi > > > > CFFI does have some nice things going for it besides > > "portability-enabling" the FFI stuff though. > > > > And IIRC the native CLisp FFI had some things going for it over CFFI, > such as being able to just throw a lambda form at a callback parameter > with CLisp worrying about the rest. > > But CFFI will make you more friends. > > Meanwhile, where is that project that was wrapping win32 windowing API? > That would have a ton of examples. > > hth,kt I think you mean this one: http://common-lisp.net/project/graphic-forms/ -- Lars Rune Nøstdal || AJAX/Comet GUI type stuff for Common Lisp http://nostdal.org/ || http://groups.google.com/group/symbolicweb |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.