Page 1 of 1

Loading Shared Object files

Posted: Wed Mar 03, 2004 11:11 pm
by 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.

Posted: Wed Mar 03, 2004 11:22 pm
by newdep
>(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.

Posted: Wed Mar 03, 2004 11:25 pm
by pjot
No, I actually meant your first answer. Nevertheless your remark is interesting as well...