Click here to Skip to main content
15,901,122 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to use loadlibrary function Pin
Code-o-mat19-Mar-09 1:46
Code-o-mat19-Mar-09 1:46 
AnswerRe: How to use loadlibrary function Pin
Stuart Dootson19-Mar-09 1:48
professionalStuart Dootson19-Mar-09 1:48 
GeneralRe: How to use loadlibrary function Pin
Ash_VCPP19-Mar-09 2:16
Ash_VCPP19-Mar-09 2:16 
GeneralRe: How to use loadlibrary function Pin
Cedric Moonen19-Mar-09 2:21
Cedric Moonen19-Mar-09 2:21 
GeneralRe: How to use loadlibrary function Pin
Ash_VCPP19-Mar-09 2:48
Ash_VCPP19-Mar-09 2:48 
GeneralRe: How to use loadlibrary function Pin
Cedric Moonen19-Mar-09 3:00
Cedric Moonen19-Mar-09 3:00 
GeneralRe: How to use loadlibrary function Pin
Ash_VCPP19-Mar-09 3:10
Ash_VCPP19-Mar-09 3:10 
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 

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.