Click here to Skip to main content
16,011,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Window focus Pin
David Crow25-Jul-05 5:45
David Crow25-Jul-05 5:45 
GeneralRe: Window focus Pin
Halawlaws25-Jul-05 5:50
Halawlaws25-Jul-05 5:50 
GeneralRe: Window focus Pin
Marc Soleda25-Jul-05 5:42
Marc Soleda25-Jul-05 5:42 
GeneralUse a DLLs, which uses mfc as shared dll, from App. that uses mfc as static dll. Pin
Yaeli!!!25-Jul-05 4:47
sussYaeli!!!25-Jul-05 4:47 
GeneralRe: Use a DLLs, which uses mfc as shared dll, from App. that uses mfc as static dll. Pin
Cool Ju25-Jul-05 19:38
Cool Ju25-Jul-05 19:38 
QuestionHow to call parent function from child? Pin
dy1325-Jul-05 4:46
dy1325-Jul-05 4:46 
AnswerRe: How to call parent function from child? Pin
Marc Soleda25-Jul-05 4:59
Marc Soleda25-Jul-05 4:59 
GeneralUse a DLLs, which uses mfc as shared dll, from App. that uses mfc as static dll. Pin
Anonymous25-Jul-05 4:43
Anonymous25-Jul-05 4:43 
Roll eyes | :rolleyes:
Hi
I got a package of dlls, some compiled as:
- "MFC Extension DLL (using shared MFC DLL)"
- and other as "Regular DLL using shared MFC DLL"
I want to compile myown application which uses those DLLs, in "Use MFC in a Static Library" mode.

but i'm getting the following linking errors:


Linking...
msvcrt.lib(MSVCRT.dll) : error LNK2005: "public: int __thiscall type_info::operator==(class type_info const &)const " (??8type_info@@QBEHABV0@@Z) already defined in libcmt.lib(typinfo.obj)
msvcrt.lib(MSVCRT.dll) : error LNK2005: __setmbcp already defined in libcmt.lib(mbctype.obj)
msvcrt.lib(MSVCRT.dll) : warning LNK4006: "public: int __thiscall type_info::operator==(class type_info const &)const " (??8type_info@@QBEHABV0@@Z) already defined in libcmt.lib(typinfo.obj); second definition ignored
msvcrt.lib(MSVCRT.dll) : warning LNK4006: __setmbcp already defined in libcmt.lib(mbctype.obj); second definition ignored
Creating library Release/IFL_Sample.lib and object Release/IFL_Sample.exp
nafxcw.lib(nolib.obj) : warning LNK4098: defaultlib "mfc42.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
nafxcw.lib(nolib.obj) : warning LNK4098: defaultlib "mfcs42.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
libcmt.lib(crt0init.obj) : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
Release/IFL_Sample.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.


Thanks in advance!

Yael

GeneralPointers Pin
sroberts8225-Jul-05 4:39
sroberts8225-Jul-05 4:39 
GeneralRe: Pointers Pin
Chris Losinger25-Jul-05 4:44
professionalChris Losinger25-Jul-05 4:44 
GeneralRe: Pointers Pin
toxcct25-Jul-05 5:53
toxcct25-Jul-05 5:53 
Generalstd::string and looping backward Pin
LCI25-Jul-05 4:36
LCI25-Jul-05 4:36 
GeneralRe: std::string and looping backward Pin
Chris Losinger25-Jul-05 4:56
professionalChris Losinger25-Jul-05 4:56 
GeneralRe: std::string and looping backward Pin
LCI25-Jul-05 5:54
LCI25-Jul-05 5:54 
GeneralRe: std::string and looping backward Pin
S. Senthil Kumar25-Jul-05 6:27
S. Senthil Kumar25-Jul-05 6:27 
GeneralRe: std::string and looping backward Pin
LCI25-Jul-05 10:37
LCI25-Jul-05 10:37 
Generali need help in file.dat Pin
sara-m25-Jul-05 3:47
sara-m25-Jul-05 3:47 
GeneralRe: i need help in file.dat Pin
David Crow25-Jul-05 4:18
David Crow25-Jul-05 4:18 
GeneralRe: i need help in file.dat Pin
sara-m25-Jul-05 6:45
sara-m25-Jul-05 6:45 
GeneralRe: i need help in file.dat Pin
David Crow25-Jul-05 7:05
David Crow25-Jul-05 7:05 
GeneralRe: i need help in file.dat Pin
Halawlaws25-Jul-05 5:27
Halawlaws25-Jul-05 5:27 
GeneralPrint text and image Pin
Larsson25-Jul-05 3:33
Larsson25-Jul-05 3:33 
QuestionHow to create a timer event which can run continuosly. Pin
santoshskulkarni25-Jul-05 3:20
santoshskulkarni25-Jul-05 3:20 
AnswerRe: How to create a timer event which can run continuosly. Pin
toxcct25-Jul-05 3:22
toxcct25-Jul-05 3:22 
AnswerRe: How to create a timer event which can run continuosly. Pin
Marc Soleda25-Jul-05 3:25
Marc Soleda25-Jul-05 3:25 

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.