Click here to Skip to main content
15,914,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to use loadlibrary function Pin
Cedric Moonen19-Mar-09 3:14
Cedric Moonen19-Mar-09 3:14 
OMG | :OMG: No, I think you missed something really important here: you can't use classes from a dll if you are using LoadLibrary. This function (and the GetProcAddress) is only useful when you need to call functions from a dll.
If you need to use classes from your dll, you will need to use an import library.

Anhyway, this can't work even if you supply the path statically, because at compile time the compiler will never check if your dll is present or not (that doesn't make any sense).

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

GeneralRe: How to use loadlibrary function Pin
Ash_VCPP19-Mar-09 3:22
Ash_VCPP19-Mar-09 3:22 
GeneralRe: How to use loadlibrary function Pin
Cedric Moonen19-Mar-09 3:29
Cedric Moonen19-Mar-09 3:29 
GeneralRe: How to use loadlibrary function Pin
David Crow19-Mar-09 3:15
David Crow19-Mar-09 3:15 
GeneralRe: How to use loadlibrary function Pin
David Crow19-Mar-09 3:14
David Crow19-Mar-09 3:14 
GeneralRe: How to use loadlibrary function Pin
Ash_VCPP19-Mar-09 3:20
Ash_VCPP19-Mar-09 3:20 
GeneralRe: How to use loadlibrary function Pin
Cedric Moonen19-Mar-09 3:32
Cedric Moonen19-Mar-09 3:32 
GeneralRe: How to use loadlibrary function Pin
Ash_VCPP19-Mar-09 3:49
Ash_VCPP19-Mar-09 3:49 
GeneralRe: How to use loadlibrary function Pin
led mike19-Mar-09 4:27
led mike19-Mar-09 4:27 
GeneralRe: How to use loadlibrary function Pin
Cedric Moonen19-Mar-09 4:39
Cedric Moonen19-Mar-09 4:39 
GeneralRe: How to use loadlibrary function Pin
led mike19-Mar-09 6:57
led mike19-Mar-09 6:57 
AnswerRe: How to use loadlibrary function Pin
#realJSOP19-Mar-09 3:36
professional#realJSOP19-Mar-09 3:36 
QuestionRe: How to use loadlibrary function Pin
CPallini19-Mar-09 3:53
mveCPallini19-Mar-09 3:53 
AnswerRe: How to use loadlibrary function Pin
Ash_VCPP19-Mar-09 4:08
Ash_VCPP19-Mar-09 4:08 
GeneralRe: How to use loadlibrary function Pin
led mike19-Mar-09 4:26
led mike19-Mar-09 4:26 
QuestionRe: How to use loadlibrary function Pin
CPallini19-Mar-09 7:14
mveCPallini19-Mar-09 7:14 
GeneralRe: How to use loadlibrary function Pin
bulg19-Mar-09 8:59
bulg19-Mar-09 8:59 
GeneralRe: How to use loadlibrary function Pin
Snorri Kristjansson21-Mar-09 1:10
professionalSnorri Kristjansson21-Mar-09 1:10 
QuestionHow to get a port number bound to a given socket using function other than getsockname() Pin
Gajendra Sharma19-Mar-09 0:55
Gajendra Sharma19-Mar-09 0:55 
QuestionRe: How to get a port number bound to a given socket using function other than getsockname() Pin
«_Superman_»19-Mar-09 1:05
professional«_Superman_»19-Mar-09 1:05 
AnswerRe: How to get a port number bound to a given socket using function other than getsockname() Pin
Gajendra Sharma19-Mar-09 1:27
Gajendra Sharma19-Mar-09 1:27 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
«_Superman_»19-Mar-09 1:33
professional«_Superman_»19-Mar-09 1:33 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
Gajendra Sharma19-Mar-09 1:40
Gajendra Sharma19-Mar-09 1:40 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
«_Superman_»19-Mar-09 1:48
professional«_Superman_»19-Mar-09 1:48 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
Gajendra Sharma19-Mar-09 2:02
Gajendra Sharma19-Mar-09 2:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.