Click here to Skip to main content
15,846,038 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Please help me Pin
mikobi6-Mar-06 23:58
mikobi6-Mar-06 23:58 
GeneralRe: Please help me Pin
J51219827-Mar-06 3:59
J51219827-Mar-06 3:59 
GeneralRe: Please help me Pin
mikobi7-Mar-06 21:37
mikobi7-Mar-06 21:37 
GeneralRe: Please help me Pin
mikobi7-Mar-06 21:49
mikobi7-Mar-06 21:49 
GeneralRe: Please help me Pin
J51219827-Mar-06 23:35
J51219827-Mar-06 23:35 
Questionriends,How to create an Installable version of our project Pin
Yuthav28-Feb-06 19:49
Yuthav28-Feb-06 19:49 
AnswerRe: riends,How to create an Installable version of our project Pin
Cool Ju28-Feb-06 20:39
Cool Ju28-Feb-06 20:39 
Question#error directive Pin
QuickDeveloper28-Feb-06 19:47
QuickDeveloper28-Feb-06 19:47 
hi
i have created a dialog based MFC application.
But when i compile i get the following error

fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>

this is due to the following code in AFXV_W32.H (which ships with VC6)

#ifdef _WINDOWS_
#error WINDOWS.H already included. MFC apps must not #include <windows.h>
#endif


how to fix it?i didn't define _WINDOWS_ anywhere in my code but it still throws up the error



"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"



-- modified at 0:48 Wednesday 1st March, 2006
AnswerRe: #error directive Pin
Nibu babu thomas28-Feb-06 20:12
Nibu babu thomas28-Feb-06 20:12 
GeneralRe: #error directive Pin
QuickDeveloper28-Feb-06 20:21
QuickDeveloper28-Feb-06 20:21 
QuestionRe: #error directive Pin
Nibu babu thomas28-Feb-06 20:23
Nibu babu thomas28-Feb-06 20:23 
AnswerRe: #error directive Pin
QuickDeveloper28-Feb-06 20:31
QuickDeveloper28-Feb-06 20:31 
GeneralRe: #error directive Pin
Nibu babu thomas28-Feb-06 20:36
Nibu babu thomas28-Feb-06 20:36 
QuestionRe: #error directive Pin
David Crow1-Mar-06 4:30
David Crow1-Mar-06 4:30 
Questionriends,How to create an Installable version of our project Pin
Yuthav28-Feb-06 19:47
Yuthav28-Feb-06 19:47 
QuestionCalling opengl's DrawGLScene() function in an MFC window Pin
adiilah28-Feb-06 19:33
adiilah28-Feb-06 19:33 
QuestionHow to implement List View Control Pin
janisha28-Feb-06 19:14
janisha28-Feb-06 19:14 
AnswerRe: How to implement List View Control Pin
Ryan Binns28-Feb-06 19:19
Ryan Binns28-Feb-06 19:19 
QuestionWininet: Copy file to web directory Pin
Anilkumar K V28-Feb-06 19:08
Anilkumar K V28-Feb-06 19:08 
QuestionLengthy initializing Pin
Waldermort28-Feb-06 18:38
Waldermort28-Feb-06 18:38 
AnswerRe: Lengthy initializing Pin
jigneshrpatel28-Feb-06 18:44
jigneshrpatel28-Feb-06 18:44 
GeneralRe: Lengthy initializing Pin
Waldermort28-Feb-06 18:49
Waldermort28-Feb-06 18:49 
GeneralRe: Lengthy initializing Pin
Waldermort28-Feb-06 20:13
Waldermort28-Feb-06 20:13 
GeneralRe: Lengthy initializing Pin
Nibu babu thomas28-Feb-06 20:19
Nibu babu thomas28-Feb-06 20:19 
GeneralRe: Lengthy initializing Pin
Waldermort28-Feb-06 23:42
Waldermort28-Feb-06 23:42 

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.