DLL loading in VC++

I just want a sample on how to load DLL in my VC++ win32 console application...I have created Dlls already. The problem here is how to load it in C++. Ive seen samples but most of them are VC++ Dlls loaded in Visual Basic....

Please help me here... urgent
This maybe help:

LoadLibrary Function

http://msdn.microsoft.com/en-us/library/ms684175(VS.85).aspx
There are two ways.

You can have the loader load the library at application load time. In which casse you link to the library at link time.

The second is you can load the library at runtime and find the functions you're interested in and call them. I've previously posted an example at: http://www.cplusplus.com/forum/general/8090/
Topic archived. No new replies allowed.