Click here to Skip to main content
16,005,080 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCan't display dialogbox? Pin
ritz123412-May-08 23:07
ritz123412-May-08 23:07 
AnswerRe: Can't display dialogbox? Pin
ERLN13-May-08 0:15
ERLN13-May-08 0:15 
QuestionRe: Can't display dialogbox? Pin
David Crow13-May-08 2:58
David Crow13-May-08 2:58 
QuestionDoubt in DLL Pin
Hungry Developer12-May-08 22:57
Hungry Developer12-May-08 22:57 
AnswerRe: Doubt in DLL Pin
Cedric Moonen12-May-08 23:09
Cedric Moonen12-May-08 23:09 
AnswerRe: Doubt in DLL Pin
Rajkumar R12-May-08 23:10
Rajkumar R12-May-08 23:10 
GeneralRe: Doubt in DLL Pin
Hungry Developer13-May-08 1:14
Hungry Developer13-May-08 1:14 
AnswerRe: Doubt in DLL Pin
CPallini12-May-08 23:15
mveCPallini12-May-08 23:15 
If you don't use extern "C" the name of the function is mangled the C++ way (you can see this effect viewing your DLL with Dependecy Walker). That means you need to pass the mangled name to GetProcAddress().
On the other hand, using extern "C" makes the function have C linkage, hence, roughly speaking, without mangling.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


GeneralRe: Doubt in DLL Pin
Hungry Developer13-May-08 1:15
Hungry Developer13-May-08 1:15 
GeneralYou're welcome Pin
CPallini13-May-08 1:45
mveCPallini13-May-08 1:45 
AnswerRe: Doubt in DLL Pin
toxcct13-May-08 2:12
toxcct13-May-08 2:12 
GeneralRe: Doubt in DLL Pin
Hungry Developer14-May-08 1:37
Hungry Developer14-May-08 1:37 
QuestionFill color ListView Pin
john563212-May-08 21:16
john563212-May-08 21:16 
AnswerRe: Fill color ListView Pin
Rajkumar R12-May-08 21:22
Rajkumar R12-May-08 21:22 
AnswerRe: Fill color ListView [modified] Pin
Iain Clarke, Warrior Programmer12-May-08 22:08
Iain Clarke, Warrior Programmer12-May-08 22:08 
QuestionRe: Fill color ListView Pin
David Crow13-May-08 3:01
David Crow13-May-08 3:01 
AnswerRe: Fill color ListView Pin
Iain Clarke, Warrior Programmer13-May-08 3:34
Iain Clarke, Warrior Programmer13-May-08 3:34 
GeneralRe: Fill color ListView Pin
David Crow13-May-08 3:48
David Crow13-May-08 3:48 
GeneralRe: Fill color ListView Pin
Iain Clarke, Warrior Programmer13-May-08 3:53
Iain Clarke, Warrior Programmer13-May-08 3:53 
QuestionGetting rid of this error Pin
pl_kode12-May-08 20:49
pl_kode12-May-08 20:49 
AnswerRe: Getting rid of this error Pin
Rajesh R Subramanian12-May-08 21:00
professionalRajesh R Subramanian12-May-08 21:00 
GeneralRe: Getting rid of this error Pin
pl_kode12-May-08 21:07
pl_kode12-May-08 21:07 
GeneralRe: Getting rid of this error Pin
Rajesh R Subramanian12-May-08 21:13
professionalRajesh R Subramanian12-May-08 21:13 
GeneralRe: Getting rid of this error Pin
pl_kode12-May-08 21:28
pl_kode12-May-08 21:28 
General[OT] Re: Getting rid of this error Pin
David Crow13-May-08 3:03
David Crow13-May-08 3:03 

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.