Click here to Skip to main content
16,006,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CComboBox problem Pin
Tomasz Sowinski1-Jun-01 7:42
Tomasz Sowinski1-Jun-01 7:42 
GeneralPlease help : problem with distributing ActifveX control Pin
Bartek1-Jun-01 4:55
Bartek1-Jun-01 4:55 
General#pramga startup equivilent Pin
Steve Thresher1-Jun-01 4:41
Steve Thresher1-Jun-01 4:41 
GeneralRe: #pramga startup equivilent Pin
Tim Deveaux1-Jun-01 5:30
Tim Deveaux1-Jun-01 5:30 
GeneralRe: #pramga startup equivilent Pin
Tomasz Sowinski1-Jun-01 7:36
Tomasz Sowinski1-Jun-01 7:36 
GeneralRe: #pramga startup equivilent Pin
Steve Thresher2-Jun-01 1:39
Steve Thresher2-Jun-01 1:39 
Generallinking error: library conflict Pin
hearties1-Jun-01 3:29
hearties1-Jun-01 3:29 
GeneralRe: linking error: library conflict Pin
Dave Carkeet1-Jun-01 4:32
Dave Carkeet1-Jun-01 4:32 
I find that one thing that can cause this message is the following
(Im using VC++ 5.0):

When you create you Win32 Appwizard application, you are asked whether you you wish to use MFC as a shared DLL or as a static library.

When you create a ".lib" type project you have 3 options...

Using MFC in a static library
Using MFC in a shared DLL
Not using MFC

The ".lib" projects which your Win32 application links in should (in normal situations) be using MFC in the same way as your Win32 app.

For example, I built a ".lib" which used some MFC calls, and I mistakenly selected "Not using MFC" when I created the project, and
it generated exactly the same message as you quote above.



Dave Carkeet,
Santiago, Chile

GeneralMsComm example ... Pin
Hadi Rezaee1-Jun-01 1:09
Hadi Rezaee1-Jun-01 1:09 
GeneralLinker error 2005 Pin
1-Jun-01 0:56
suss1-Jun-01 0:56 
GeneralRe: Linker error 2005 Pin
Tim Deveaux1-Jun-01 4:42
Tim Deveaux1-Jun-01 4:42 
GeneralCStringArray Pin
1-Jun-01 0:13
suss1-Jun-01 0:13 
GeneralRe: CStringArray Pin
Mukkie2-Jun-01 8:36
Mukkie2-Jun-01 8:36 
GeneralRe: CStringArray Pin
5-Jun-01 3:47
suss5-Jun-01 3:47 
Generalhi can somebody tell me how can i put Pin
1-Jun-01 0:12
suss1-Jun-01 0:12 
QuestionHow to get file name from file pointer? Pin
Koteswara Rao Perumalla1-Jun-01 0:12
Koteswara Rao Perumalla1-Jun-01 0:12 
AnswerRe: How to get file name from file pointer? Pin
Igor Sukhov1-Jun-01 3:59
Igor Sukhov1-Jun-01 3:59 
GeneralRe: How to get file name from file pointer? Pin
Koteswara Rao Perumalla1-Jun-01 19:45
Koteswara Rao Perumalla1-Jun-01 19:45 
AnswerRe: How to get file name from file pointer? Pin
Igor Sukhov1-Jun-01 3:59
Igor Sukhov1-Jun-01 3:59 
QuestionHow to write a C++ program to view Tiff image? Pin
edwardkc31-May-01 22:28
edwardkc31-May-01 22:28 
AnswerRe: How to write a C++ program to view Tiff image? Pin
1-Jun-01 2:03
suss1-Jun-01 2:03 
AnswerRe: How to write a C++ program to view Tiff image? Pin
1-Jun-01 6:55
suss1-Jun-01 6:55 
GeneralAbout Protected constructor/Destructor Pin
Kastellanos Nikos31-May-01 21:54
Kastellanos Nikos31-May-01 21:54 
GeneralRe: About Protected constructor/Destructor Pin
Anna-Jayne Metcalfe31-May-01 22:11
Anna-Jayne Metcalfe31-May-01 22:11 
QuestionWhy I can't go to definition of function of a template class in ClassView? Pin
31-May-01 21:30
suss31-May-01 21:30 

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.