Click here to Skip to main content
15,904,935 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerOne other note Pin
Anacreon29-Jul-05 8:25
Anacreon29-Jul-05 8:25 
AnswerRe: MFC Dll in non-MFC app? Pin
Michael Dunn29-Jul-05 9:46
sitebuilderMichael Dunn29-Jul-05 9:46 
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 
Thank you John,

I have fixed the problem. Before I posted here, I tried to use forward declaration and the guards but I still seemed to have the errors appear.

The problem seems to have stemmed from the fact that the code was all inline in the header file (this is the way it was given to me, I didnt write it) and no code was put into the .cpp file.

While trying to figure out what the problem was, I had become fed up with all the code being inline and split it up between a header and the source and the problems disappeared.

Out of curiousity, so that I know for future reference, is there a problem with forward declarations if all the code is inside a header file?
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 
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 

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.