Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: end winword.exe by c++ Pin
kesten112-Sep-12 7:55
kesten112-Sep-12 7:55 
GeneralRe: end winword.exe by c++ Pin
pasztorpisti12-Sep-12 8:10
pasztorpisti12-Sep-12 8:10 
QuestionRe: end winword.exe by c++ Pin
David Crow12-Sep-12 10:19
David Crow12-Sep-12 10:19 
QuestionCDHTMLDialog Control HTML Body Size! Pin
Kevin Arnold12-Sep-12 3:37
Kevin Arnold12-Sep-12 3:37 
AnswerRe: CDHTMLDialog Control HTML Body Size! Pin
Kevin Arnold13-Sep-12 18:03
Kevin Arnold13-Sep-12 18:03 
Questionusing static library for C code in Visual studio 2005 Pin
sunny_vc12-Sep-12 1:12
sunny_vc12-Sep-12 1:12 
AnswerRe: using static library for C code in Visual studio 2005 Pin
pasztorpisti12-Sep-12 2:03
pasztorpisti12-Sep-12 2:03 
AnswerRe: using static library for C code in Visual studio 2005 Pin
Malli_S12-Sep-12 2:04
Malli_S12-Sep-12 2:04 
The library is compiled as C++ code, due which the function names exported by the library are mangled.

When you compile your code as C code, the name mangling is disabled, due to which the linker looks for un-mangled version of the function calls you're using from the third party library. And hence the unresolved external symbol errors are shown.

The way out for this is use dynamic loading of that DLL.
[Delegates]      [Virtual Desktop]      [Tray Me !]

-Malli...! Rose | [Rose]

GeneralRe: using static library for C code in Visual studio 2005 Pin
sunny_vc12-Sep-12 2:12
sunny_vc12-Sep-12 2:12 
AnswerRe: using static library for C code in Visual studio 2005 Pin
Malli_S12-Sep-12 2:16
Malli_S12-Sep-12 2:16 
GeneralRe: using static library for C code in Visual studio 2005 Pin
Chris Losinger12-Sep-12 2:15
professionalChris Losinger12-Sep-12 2:15 
GeneralRe: using static library for C code in Visual studio 2005 Pin
Malli_S12-Sep-12 2:17
Malli_S12-Sep-12 2:17 
GeneralRe: using static library for C code in Visual studio 2005 Pin
Chris Losinger12-Sep-12 2:19
professionalChris Losinger12-Sep-12 2:19 
GeneralRe: using static library for C code in Visual studio 2005 Pin
Malli_S12-Sep-12 2:23
Malli_S12-Sep-12 2:23 
GeneralRe: using static library for C code in Visual studio 2005 Pin
sunny_vc12-Sep-12 2:42
sunny_vc12-Sep-12 2:42 
AnswerRe: using static library for C code in Visual studio 2005 Pin
jschell12-Sep-12 8:04
jschell12-Sep-12 8:04 
GeneralRe: using static library for C code in Visual studio 2005 Pin
Malli_S12-Sep-12 20:01
Malli_S12-Sep-12 20:01 
GeneralRe: using static library for C code in Visual studio 2005 Pin
sunny_vc12-Sep-12 23:55
sunny_vc12-Sep-12 23:55 
GeneralRe: using static library for C code in Visual studio 2005 Pin
jschell14-Sep-12 8:38
jschell14-Sep-12 8:38 
QuestionHow to lock a file when it is in use? Pin
tagopi12-Sep-12 0:46
tagopi12-Sep-12 0:46 
AnswerRe: How to lock a file when it is in use? Pin
Malli_S12-Sep-12 1:56
Malli_S12-Sep-12 1:56 
AnswerRe: How to lock a file when it is in use? Pin
Software_Developer13-Sep-12 5:43
Software_Developer13-Sep-12 5:43 
QuestionGetting List of Specific Installed Programs Pin
AmbiguousName11-Sep-12 6:02
AmbiguousName11-Sep-12 6:02 
AnswerRe: Getting List of Specific Installed Programs Pin
Michael_Lu11-Sep-12 8:21
Michael_Lu11-Sep-12 8:21 
QuestionCan't select HBRUSH into device context Pin
Alan Balkany11-Sep-12 5:38
Alan Balkany11-Sep-12 5:38 

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.