Click here to Skip to main content
15,907,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMessagebox and Manifest Pin
S van Leent18-Nov-02 10:48
S van Leent18-Nov-02 10:48 
GeneralRe: Messagebox and Manifest Pin
EVILkos13-Dec-09 2:31
EVILkos13-Dec-09 2:31 
GeneralCustom shaped dialogs Pin
Dean Michaud18-Nov-02 10:18
Dean Michaud18-Nov-02 10:18 
GeneralRe: Custom shaped dialogs Pin
Navin18-Nov-02 10:34
Navin18-Nov-02 10:34 
GeneralRe: Custom shaped dialogs Pin
Dean Michaud18-Nov-02 10:45
Dean Michaud18-Nov-02 10:45 
GeneralRe: Custom shaped dialogs Pin
Michael Dunn18-Nov-02 11:18
sitebuilderMichael Dunn18-Nov-02 11:18 
GeneralRe: Custom shaped dialogs Pin
Atlantys19-Nov-02 3:07
Atlantys19-Nov-02 3:07 
GeneralAdding MFC to a non-MFC project Pin
Dave_18-Nov-02 10:03
Dave_18-Nov-02 10:03 
As an example, there is a project posted here on codeproject (by John Roark) that displays a "skinned" dialog (sorry I don't have the link at this time). If I try to add a CStatic derived class to it, I keep getting link errors (see below). I am using the "Use MFC in a static library" option. Using a shared dll option does not produce the error, but I need to have the static library option.

Every search I do keeps telling me that I can solve this error by selecting one of the Multi-Threaded options in the "Code Generation" tab of VC6. The thing is - I already have the Multi-Threaded option picked.Mad | :mad:

I'm really hoping that this is a very simple problem to solve, but I'm stumped.

Any ideas?

Thanks,

David

Link errors:

nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in LIBCMTD.lib(new.obj)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in LIBCMTD.lib(dbgdel.obj)
Debug/SkinTrial.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.

GeneralRe: Adding MFC to a non-MFC project Pin
Navin18-Nov-02 10:37
Navin18-Nov-02 10:37 
GeneralRe: Adding MFC to a non-MFC project Pin
Bill Wilson18-Nov-02 13:11
Bill Wilson18-Nov-02 13:11 
QuestionIs the field EMPTY ? Pin
Hadi Rezaee18-Nov-02 8:21
Hadi Rezaee18-Nov-02 8:21 
GeneralCListBox FindString Pin
Gary Kirkham18-Nov-02 8:17
Gary Kirkham18-Nov-02 8:17 
GeneralRe: CListBox FindString Pin
Gary Kirkham18-Nov-02 8:31
Gary Kirkham18-Nov-02 8:31 
GeneralFormatting string in Edit Box Pin
Georgi Atanasov18-Nov-02 6:49
Georgi Atanasov18-Nov-02 6:49 
GeneralRe: Formatting string in Edit Box Pin
Roger Allen18-Nov-02 7:21
Roger Allen18-Nov-02 7:21 
QuestionHow do I detect removable media being inserted? Pin
Obliterator18-Nov-02 6:09
Obliterator18-Nov-02 6:09 
AnswerRe: How do I detect removable media being inserted? Pin
567890123418-Nov-02 23:00
567890123418-Nov-02 23:00 
GeneralRe: How do I detect removable media being inserted? Pin
Obliterator21-Nov-02 4:18
Obliterator21-Nov-02 4:18 
GeneralApplication Icon Pin
carpediem18-Nov-02 5:57
carpediem18-Nov-02 5:57 
GeneralRe: Application Icon Pin
KevinHall18-Nov-02 6:34
KevinHall18-Nov-02 6:34 
GeneralRe: Application Icon Pin
Shog918-Nov-02 7:49
sitebuilderShog918-Nov-02 7:49 
GeneralRe: Application Icon Pin
carpediem18-Nov-02 12:57
carpediem18-Nov-02 12:57 
GeneralRe: Application Icon Pin
Shog918-Nov-02 13:09
sitebuilderShog918-Nov-02 13:09 
GeneralRe: Application Icon Pin
Al_Pennyworth18-Nov-02 13:14
Al_Pennyworth18-Nov-02 13:14 
GeneralRe: Application Icon Pin
Shog918-Nov-02 13:23
sitebuilderShog918-Nov-02 13:23 

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.