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

C / C++ / MFC

 
GeneralRe: CComboBox Pin
Michael Dunn3-Aug-01 8:34
sitebuilderMichael Dunn3-Aug-01 8:34 
GeneralCDialog Pin
2-Aug-01 22:15
suss2-Aug-01 22:15 
GeneralRe: CDialog Pin
Christian Graus4-Aug-01 2:45
protectorChristian Graus4-Aug-01 2:45 
GeneralSelecting elements on a drawing Pin
2-Aug-01 22:09
suss2-Aug-01 22:09 
GeneralRe: Selecting elements on a drawing Pin
3-Aug-01 2:04
suss3-Aug-01 2:04 
QuestionHow to include a MFC DLL in to a project created without MFC ? Pin
Gabriel Ciuloaica2-Aug-01 21:59
Gabriel Ciuloaica2-Aug-01 21:59 
AnswerRe: How to include a MFC DLL in to a project created without MFC ? Pin
3-Aug-01 1:52
suss3-Aug-01 1:52 
GeneralRe: How to include a MFC DLL in to a project created without MFC ? Pin
Gabriel Ciuloaica3-Aug-01 3:38
Gabriel Ciuloaica3-Aug-01 3:38 
Sorry, I put the question in a bad mode.

I have a project that didn't include MFC. I try to include a library file (.lib). This lib file use MFC (I don't have the sources of this lib). I put the lib file and heaer file (.h) in the same directory with the project and I try to build... but I get message like this:
"fatal error C1189: #error : include 'stdafx.h' before including this file for PCH"
and the line where I get the error is in header file and contain:
"#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif"
But, "stdafx.h" don't exist because the project don't use MFC.

Thanks,
Gabi
Confused | :confused:
GeneralChanging Files icons Pin
Hami2-Aug-01 21:15
Hami2-Aug-01 21:15 
QuestionWhich method of CFile write a new line in text file ? Pin
2-Aug-01 18:25
suss2-Aug-01 18:25 
AnswerRe: Which method of CFile write a new line in text file ? Pin
Michael Martin2-Aug-01 19:12
professionalMichael Martin2-Aug-01 19:12 
AnswerRe: Which method of CFile write a new line in text file ? Pin
Bob Groves2-Aug-01 20:36
Bob Groves2-Aug-01 20:36 
GeneralEncode URL data Pin
Winston,Dang2-Aug-01 17:54
Winston,Dang2-Aug-01 17:54 
GeneralThe XP Problem Pin
2-Aug-01 15:17
suss2-Aug-01 15:17 
GeneralRe: The XP Problem Pin
Christian Graus2-Aug-01 16:34
protectorChristian Graus2-Aug-01 16:34 
GeneralRe: The XP Problem Pin
Ben Burnett2-Aug-01 17:24
Ben Burnett2-Aug-01 17:24 
GeneralRe: The XP Problem Pin
7-Aug-01 20:03
suss7-Aug-01 20:03 
GeneralRe: The XP Problem Pin
Jens Kreiensiek7-Aug-01 20:56
Jens Kreiensiek7-Aug-01 20:56 
GeneralStoring WINDOWPLACEMENT in the registry Pin
flurinator2-Aug-01 14:56
flurinator2-Aug-01 14:56 
GeneralRe: Storing WINDOWPLACEMENT in the registry Pin
Michael Dunn2-Aug-01 15:06
sitebuilderMichael Dunn2-Aug-01 15:06 
GeneralRe: Storing WINDOWPLACEMENT in the registry Pin
flurinator2-Aug-01 15:18
flurinator2-Aug-01 15:18 
GeneralRe: Storing WINDOWPLACEMENT in the registry Pin
Christian Graus2-Aug-01 16:35
protectorChristian Graus2-Aug-01 16:35 
GeneralRe: Storing WINDOWPLACEMENT in the registry Pin
[James Pullicino]3-Aug-01 2:08
[James Pullicino]3-Aug-01 2:08 
GeneralUsing child windows in SDI application Pin
JerzyPeter2-Aug-01 14:23
JerzyPeter2-Aug-01 14:23 
GeneralCFrameWnd :: OnBarCheck Pin
Jake Palmer2-Aug-01 13:48
Jake Palmer2-Aug-01 13:48 

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.