Hi,
I wrote a program that load some shared library I also wrote.
My problem is that the library implements an abstract class and the program has the the .h so it can use the library object. The thing is that I want it to be both ways.
I want to be able to give the library a object of the main program (as a pointer) and be able to use it from the library but I don't want to have de .cpp of that class at compile time when I compile the lib.
Can I do this? any ideas?
Thanks!