CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    How to import a Dll,which exports a class, using ::LoadLibrary at runtime?

    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.


  2. #2
    Join Date
    Mar 2001
    Posts
    5

    Re: How to import a Dll,which exports a class, using ::LoadLibrary at runtime?

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured