Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • I think i should have added that the shared library itself is object oriented. If only functions can be "linked", this won't work, right? Commented Oct 5, 2011 at 10:38
  • If you know the name the linker generates you can access any symbol. A good practice is having a function using C calling conventions which returns a pointer to a structure which contains objects or something. Commented Oct 5, 2011 at 21:25
  • Well, I already do that - to access the library via Java. The C++ library I'm writing is nothing but a stub using the third party library (which I am not able to alter). Commented Oct 5, 2011 at 22:12