This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Status Update : How to create objects of a class defined in .so file?


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/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]