Status Update : How to create objects of a class defined in .so file?
Rajesh Lolam
rajeshlolam@rediffmail.com
Wed Dec 6 04:13:00 GMT 2000
Hi all,
At present, I'm trying to solve the problem (of creating object of a class defined in .so file) with a work-around.
For this I would be writing a wrapper function which will create objects of the class. Then the .so file will be created which will include both (viz. the class of which the object is to be created and the wraper function).
It is very simple to call plain function defined in .so file. The same way the wrapper function will be called (using dlfcn.h functions).
Hope that it it works.
Bye,
Rajesh
<rajeshlolam@rediffmail.com>
=========================================================
_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com
Participate in crazy auctions at http://auctions.rediff.com/auctions/
More information about the Gcc-help
mailing list