Click to See Complete Forum and Search --> : How to import a Dll,which exports a class, using ::LoadLibrary at runtime?


April 27th, 1999, 05:23 AM
I have a dll which exports a class like the code follows:

#define DllExport __declspec(dllexport)

class DllExport Myclass
{


}

I have to import this class at runtime using LoadLibrary function. But I donno how to give the parameters for that function.Whether I have to give Class name or member function names or what?



-Iyyaps.

amitg90
March 28th, 2001, 02:48 PM
Hi,

wanted to know onw thing here..
You mentioned that you have to import the class in you main program but do you really have to do that.
I am a new VC++ programmer so i don't know much about Import..

Regards
Amit