For the Compleat Fan
pjot
Posts: 733 Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:
Post
by pjot » Wed Mar 03, 2004 11:11 pm
Hi Lutz,
In a Win32 environment it is possible to read functions from a DLL. I wonder: is something similar possible for Linux environments? I couldn't find it in the manual, nor in previous posts.
Regards
Peter.
newdep
Posts: 2038 Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands
Post
by newdep » Wed Mar 03, 2004 11:22 pm
>(import "/lib/libc.so.6" "getpid" )
>(getpid)
10645
:-)
But what you ment is probably using newlisp as DLL under windows but
then for linux? (thus newlisp as compiled library?) think thats possible...
Norman.
pjot
Posts: 733 Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:
Post
by pjot » Wed Mar 03, 2004 11:25 pm
No, I actually meant your first answer. Nevertheless your remark is interesting as well...