newLISP Fan Club

Forum => newLISP newS => Topic started by: methodic on January 13, 2009, 07:33:44 PM

Title: Import libraries to use with classes?
Post by: methodic on January 13, 2009, 07:33:44 PM
Is it possible to import a shared library and use the namespaces/classes? I'm not very familiar with OOP and I've always imported shared libraries that map to a specific function.



Thanks in advance.
Title:
Post by: pjot on January 14, 2009, 12:16:32 AM
If you are talking about libraries created with C++, then this is impossible.



http://www.isotton.com/devel/docs/C++-dlopen-mini-HOWTO/C++-dlopen-mini-HOWTO.html



Except when the C++ source uses 'extern C'. But then you have to be lucky!



Regards
Title:
Post by: methodic on January 14, 2009, 12:47:22 PM
Ah, bummer. Thanks for the info -- that helped clear it up for me.