Click here to Skip to main content
15,898,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC Dll in non-MFC app? Pin
Anacreon29-Jul-05 10:07
Anacreon29-Jul-05 10:07 
GeneralRe: MFC Dll in non-MFC app? Pin
Anacreon29-Jul-05 10:27
Anacreon29-Jul-05 10:27 
GeneralRe: MFC Dll in non-MFC app? Pin
Anacreon29-Jul-05 10:44
Anacreon29-Jul-05 10:44 
General#include problem Pin
massad29-Jul-05 6:03
massad29-Jul-05 6:03 
GeneralRe: #include problem Pin
John R. Shaw29-Jul-05 6:36
John R. Shaw29-Jul-05 6:36 
GeneralRe: #include problem Pin
massad29-Jul-05 6:50
massad29-Jul-05 6:50 
GeneralRe: #include problem Pin
John R. Shaw29-Jul-05 7:07
John R. Shaw29-Jul-05 7:07 
GeneralRe: #include problem Pin
Bob Stanneveld29-Jul-05 7:41
Bob Stanneveld29-Jul-05 7:41 
Hello,

It seams that a problem with including to many headers. You should not include stdafx.h in your header.

The problem that you face is that you include stdafx.h in class1.h. In stdafx.h, you include class1.h, which in turn includes stdafx.h again. This is an infinite cycle and the compiler knows this. It just stops including and you get some errors.

If you don't use class1 in class2, you can include class2.h instead of stdafx.h in class1.h and you problem should be gone!

Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
GeneralRe: #include problem Pin
Anacreon29-Jul-05 7:58
Anacreon29-Jul-05 7:58 
GeneralRe: #include problem Pin
David Crow29-Jul-05 8:26
David Crow29-Jul-05 8:26 
GeneralRe: #include problem Pin
sunit529-Jul-05 20:48
sunit529-Jul-05 20:48 
QuestionVC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn29-Jul-05 5:16
gunrunnerjohn29-Jul-05 5:16 
AnswerRe: VC++ 2003 NET apps without NET installed? Pin
S. Senthil Kumar29-Jul-05 5:22
S. Senthil Kumar29-Jul-05 5:22 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn29-Jul-05 5:40
gunrunnerjohn29-Jul-05 5:40 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
Trollslayer29-Jul-05 12:33
mentorTrollslayer29-Jul-05 12:33 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
GuoChunLiang29-Jul-05 17:14
GuoChunLiang29-Jul-05 17:14 
GeneralSolved: VC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn30-Jul-05 7:58
gunrunnerjohn30-Jul-05 7:58 
AnswerRe: VC++ 2003 NET apps without NET installed? Pin
McClamm29-Jul-05 5:49
McClamm29-Jul-05 5:49 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn29-Jul-05 7:33
gunrunnerjohn29-Jul-05 7:33 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
Judah Gabriel Himango29-Jul-05 8:14
sponsorJudah Gabriel Himango29-Jul-05 8:14 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn29-Jul-05 8:30
gunrunnerjohn29-Jul-05 8:30 
Generalline printing charset Pin
Anonymous (scp)29-Jul-05 4:56
sussAnonymous (scp)29-Jul-05 4:56 
GeneralRe: line printing charset Pin
Blake Miller29-Jul-05 5:29
Blake Miller29-Jul-05 5:29 
GeneralCDialog derived Child Pin
23_44429-Jul-05 3:19
23_44429-Jul-05 3:19 
GeneralRe: CDialog derived Child Pin
Blake Miller29-Jul-05 4:56
Blake Miller29-Jul-05 4: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.