Page 1 of 1
Import libraries to use with classes?
Posted: Wed Jan 14, 2009 3:33 am
by methodic
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.
Posted: Wed Jan 14, 2009 8:16 am
by pjot
If you are talking about libraries created with C++, then this is impossible.
http://www.isotton.com/devel/docs/C++-d ... HOWTO.html
Except when the C++ source uses 'extern C'. But then you have to be lucky!
Regards
Posted: Wed Jan 14, 2009 8:47 pm
by methodic
Ah, bummer. Thanks for the info -- that helped clear it up for me.