Search the web
Sign In
New User? Sign Up
bangalore-lisp · The Bangalore Common Lisp Study Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Invoking DLLs through LISP   Message List  
Reply | Forward Message #215 of 501 |
Re: [bangalore-lisp] Invoking DLLs through LISP

There *is* a way to do it. However, you are looking for a *nice* way to do it. I believe you are looking for a `foreign function interface (FFI)'. You should know something about C programming. Look in your documentation for `foreign function interface' or FFI or `system'. Let us know what you find. Then we can help you further. Can we get a free copy of KCL from the Internet? Or at the very least, some user documentation for it?

Hmm. Very interesting you are using KCL. Who is this for? This is not ANSI Common Lisp you're using?

On 1/27/06, rupin kulkarni < rupinkulkarni@...> wrote:
Hi All,
 
I need help in invoking system libraries(DLLs) through lisp.I have searched through the net & found articles & examples on how to do it through LispWorks & ACL. However, I need to accomplish this through a version of lisp referred to as Kyoto Common Lisp, 1984 version. Specifically, I need help in following :
 
1. Is there any way to invoke a dll (windows library) through the lisp

2. Can we execute system commands through the lisp?(e.g calling an executable from the lisp code, or running some script/batch file...)
Any help is appreciated.
 
Rupin 


Do you Yahoo!?
With a free 1 GB, there's more in store with Yahoo! Mail.

YAHOO! GROUPS LINKS






--
Lisp humour:

LISP> (setf god (symbol-value god))
Warning:  Declaring GOD special.
Error:  GOD is unbound.

Fri Jan 27, 2006 6:51 am

tomelam
Offline Offline
Send Email Send Email

Forward
Message #215 of 501 |
Expand Messages Author Sort by Date

Hi All, I need help in invoking system libraries(DLLs) through lisp.I have searched through the net & found articles & examples on how to do it through...
rupin kulkarni
rupinkulkarni
Offline Send Email
Jan 27, 2006
6:18 am

There *is* a way to do it. However, you are looking for a *nice* way to do it. I believe you are looking for a `foreign function interface (FFI)'. You should...
Thomas Elam
tomelam
Offline Send Email
Jan 27, 2006
7:01 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help