Click here to Skip to main content
15,899,474 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: More link troubles... Pin
Michael Dunn3-Dec-02 13:14
sitebuilderMichael Dunn3-Dec-02 13:14 
GeneralRich edit control Pin
Rohit  Sinha30-Nov-02 18:30
Rohit  Sinha30-Nov-02 18:30 
GeneralBig chunks of memory. Pin
clintsinger30-Nov-02 18:06
clintsinger30-Nov-02 18:06 
GeneralRe: Big chunks of memory. Pin
Chris Losinger30-Nov-02 18:43
professionalChris Losinger30-Nov-02 18:43 
QuestionHow to handle image using MFC? Pin
kyoko30-Nov-02 15:58
kyoko30-Nov-02 15:58 
AnswerRe: How to handle image using MFC? Pin
Christian Graus30-Nov-02 16:15
protectorChristian Graus30-Nov-02 16:15 
General181 link errors... Pin
Jamie Hale30-Nov-02 14:40
Jamie Hale30-Nov-02 14:40 
Arrrrgh.

I jumped through the appropriate hoops to change my application to use MFC in a static library. And then, silly me, I tried to change it back.

181 link errors like this:
nafxcwd.lib(thrdcore.obj) : error LNK2005: "public: virtual void __thiscall CWinThread::Delete(void)" (?Delete@CWinThread@@UAEXXZ) already defined in mfc42d.lib(MFC42D.DLL)

I've compared my project settings to other applications and I can't see any difference.

What am I missing?

The project is set to use MFC in a shared DLL. The C runtime is Multithreaded DLL. _AFXDLL is defined. As is _MCBS (or whatever).

J

May the bear never have cause to eat you.

GeneralRe: 181 link errors... Pin
Michael Dunn30-Nov-02 14:58
sitebuilderMichael Dunn30-Nov-02 14:58 
GeneralRe: 181 link errors... Pin
Jamie Hale30-Nov-02 15:49
Jamie Hale30-Nov-02 15:49 
GeneralWinsock Programming Pin
Steven M Hunt30-Nov-02 14:22
Steven M Hunt30-Nov-02 14:22 
GeneralRe: Winsock Programming Pin
valikac30-Nov-02 14:40
valikac30-Nov-02 14:40 
GeneralRe: Winsock Programming Pin
valikac30-Nov-02 15:15
valikac30-Nov-02 15:15 
GeneralRe: Winsock Programming Pin
Steven M Hunt1-Dec-02 14:17
Steven M Hunt1-Dec-02 14:17 
GeneralExtracting attachments from email Pin
AlexMarbus30-Nov-02 13:42
AlexMarbus30-Nov-02 13:42 
GeneralRe: Extracting attachments from email Pin
Ravi Bhavnani30-Nov-02 14:42
professionalRavi Bhavnani30-Nov-02 14:42 
GeneralRe: Extracting attachments from email Pin
AlexMarbus30-Nov-02 14:48
AlexMarbus30-Nov-02 14:48 
GeneralRe: Extracting attachments from email Pin
Rohit  Sinha30-Nov-02 18:45
Rohit  Sinha30-Nov-02 18:45 
GeneralRe: Extracting attachments from email Pin
AlexMarbus6-Dec-02 12:48
AlexMarbus6-Dec-02 12:48 
GeneralMFC program crashes under Win XP Pin
Romik30-Nov-02 12:52
Romik30-Nov-02 12:52 
GeneralRe: MFC program crashes under Win XP Pin
Gary R. Wheeler1-Dec-02 6:27
Gary R. Wheeler1-Dec-02 6:27 
GeneralRe: MFC program crashes under Win XP Pin
Romik1-Dec-02 7:00
Romik1-Dec-02 7:00 
GeneralPrinting JPEG in Visual C++ Pin
gaumi30-Nov-02 12:21
gaumi30-Nov-02 12:21 
GeneralRe: Printing JPEG in Visual C++ Pin
Christian Graus30-Nov-02 12:47
protectorChristian Graus30-Nov-02 12:47 
General.txt-File Pin
Lucky200230-Nov-02 11:56
Lucky200230-Nov-02 11:56 

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.