Re: winapi & lisp

This is a discussion on Re: winapi & lisp within the lisp forums in Programming Languages category; 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 > > > > ...

Go Back   Application Development Forum > Programming Languages > lisp

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-07-2008, 01:31 AM
Lars Rune Nøstdal
Guest
 
Default Re: winapi & lisp

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

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 11:37 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.