Click here to Skip to main content
15,916,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Possible to kill MessageBox? Pin
Ravi Bhavnani22-Mar-04 4:42
professionalRavi Bhavnani22-Mar-04 4:42 
AnswerRe: Possible to kill MessageBox? Pin
Alvaro Mendez22-Mar-04 5:54
Alvaro Mendez22-Mar-04 5:54 
AnswerRe: Possible to kill MessageBox? Pin
casid22-Mar-04 5:54
casid22-Mar-04 5:54 
Generaldraw a combobox Pin
SBellieres22-Mar-04 3:48
SBellieres22-Mar-04 3:48 
GeneralRe: draw a combobox Pin
Maksim Lepikhin22-Mar-04 18:44
Maksim Lepikhin22-Mar-04 18:44 
GeneralLNK2005 Pin
BlackDice22-Mar-04 3:36
BlackDice22-Mar-04 3:36 
Generalme again Pin
BlackDice22-Mar-04 3:41
BlackDice22-Mar-04 3:41 
GeneralRe: me again Pin
Steve S22-Mar-04 3:52
Steve S22-Mar-04 3:52 
There are debug/non-debug versions of the libraries.
There are static link and DLL import (aka shared) versions of the libraries.
There are single thread and multi thread versions of the libraries.

Unless you're consistently using the same ones for each component in a project, you tend to see the results you originally got.

For instance, shared-library means at runtime, pull in MFC42.DLL (and MSVCRT.DLL) or, if it's a debug version, MFC42D.DLL and MSVCRTD.DLL.

If you see "already defined in" messages, chances are your project settings (C++ tab, Code generation category, at least, in VC6!) are not consistent, more specifically, the 'Use run-time library' setting.

Here, there are 6 options, and we tend to use Multithreaded DLL or Debug Multithreaded DLL as appropriate.

Any help?

Steve S
GeneralRe: me again Pin
BlackDice22-Mar-04 4:01
BlackDice22-Mar-04 4:01 
GeneralNewbie Programmer Pin
Or_ange22-Mar-04 3:15
Or_ange22-Mar-04 3:15 
GeneralRe: Newbie Programmer Pin
Alexander M.,22-Mar-04 3:17
Alexander M.,22-Mar-04 3:17 
GeneralRe: Newbie Programmer Pin
Ian Darling22-Mar-04 4:41
Ian Darling22-Mar-04 4:41 
GeneralRe: Newbie Programmer Pin
Alexander M.,22-Mar-04 9:04
Alexander M.,22-Mar-04 9:04 
GeneralRe: Newbie Programmer Pin
Ian Darling22-Mar-04 9:18
Ian Darling22-Mar-04 9:18 
QuestionHow to change it? Pin
Simon Poon22-Mar-04 3:08
Simon Poon22-Mar-04 3:08 
AnswerRe: How to change it? Pin
Antony M Kancidrowski22-Mar-04 6:10
Antony M Kancidrowski22-Mar-04 6:10 
GeneralVisual C++ Message::Box Pin
deniz79s22-Mar-04 2:08
deniz79s22-Mar-04 2:08 
GeneralRe: Visual C++ Message::Box Pin
Tom Wright22-Mar-04 5:12
Tom Wright22-Mar-04 5:12 
Generalsetting the cusor in button object Pin
mymauve2122-Mar-04 1:37
mymauve2122-Mar-04 1:37 
GeneralRe: setting the cusor in button object Pin
Branislav22-Mar-04 3:08
Branislav22-Mar-04 3:08 
GeneralRe: setting the cusor in button object Pin
John R. Shaw22-Mar-04 21:02
John R. Shaw22-Mar-04 21:02 
Generalrounding up Pin
si_6922-Mar-04 1:19
si_6922-Mar-04 1:19 
GeneralRe: rounding up Pin
Steve S22-Mar-04 1:22
Steve S22-Mar-04 1:22 
GeneralRe: rounding up Pin
David Crow22-Mar-04 7:35
David Crow22-Mar-04 7:35 
GeneralImage File Formats Pin
Vini Deep22-Mar-04 1:13
Vini Deep22-Mar-04 1:13 

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.