Loading Shared Object files

Started by pjot, March 03, 2004, 03:11:59 PM

Previous topic - Next topic

pjot

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

#1
>(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.
-- (define? (Cornflakes))

pjot

#2
No, I actually meant your first answer. Nevertheless your remark is interesting as well...