Import libraries to use with classes?

Notices and updates
Locked
methodic
Posts: 58
Joined: Tue May 10, 2005 5:04 am

Import libraries to use with classes?

Post 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.

pjot
Posts: 733
Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:

Post 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

methodic
Posts: 58
Joined: Tue May 10, 2005 5:04 am

Post by methodic »

Ah, bummer. Thanks for the info -- that helped clear it up for me.

Locked