R
rinku24
We have two C++ libraries (Unix Shared objects) with the same class
name and no namespace. Is there any way to load both the libraries and
selectivly create the instance of the class from different library?
e.g. We have class Process in libABC.so and libXYZ.so.
Can I instantiate object of class Process from libABC.so or libXYZ.so
by specifying symbol name or some other way??
I know can do that for global function using dlsym function call.
name and no namespace. Is there any way to load both the libraries and
selectivly create the instance of the class from different library?
e.g. We have class Process in libABC.so and libXYZ.so.
Can I instantiate object of class Process from libABC.so or libXYZ.so
by specifying symbol name or some other way??
I know can do that for global function using dlsym function call.