newLISP Fan Club

Forum => Anything else we might add? => Topic started by: pjot on March 03, 2004, 03:11:59 PM

Title: Loading Shared Object files
Post by: pjot on March 03, 2004, 03:11:59 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.
Title:
Post by: newdep on March 03, 2004, 03:22:40 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.
Title:
Post by: pjot on March 03, 2004, 03:25:38 PM
No, I actually meant your first answer. Nevertheless your remark is interesting as well...