Click here to Skip to main content
15,887,417 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionA class within a class Pin
Chris Copeland12-Mar-09 10:42
mveChris Copeland12-Mar-09 10:42 
AnswerRe: A class within a class Pin
CPallini12-Mar-09 11:09
mveCPallini12-Mar-09 11:09 
AnswerRe: A class within a class Pin
Stuart Dootson12-Mar-09 11:10
professionalStuart Dootson12-Mar-09 11:10 
GeneralRe: A class within a class Pin
Chris Copeland12-Mar-09 11:19
mveChris Copeland12-Mar-09 11:19 
GeneralRe: A class within a class Pin
Stuart Dootson12-Mar-09 11:31
professionalStuart Dootson12-Mar-09 11:31 
GeneralRe: A class within a class Pin
Chris Copeland12-Mar-09 11:32
mveChris Copeland12-Mar-09 11:32 
GeneralRe: A class within a class Pin
Stuart Dootson12-Mar-09 11:58
professionalStuart Dootson12-Mar-09 11:58 
GeneralRe: A class within a class Pin
Chris Copeland12-Mar-09 12:01
mveChris Copeland12-Mar-09 12:01 
My thoughts exactly. However, I placed #ifndef _SOCKETS_OBJ_DECLARED_ around the 'class A;', and in the 'B.h' at the end, I added #define _SOCKETS_OBJ_DECLARED_

Then, when I placed an #error "Undeclared" in the #ifndef, it threw the error.. so for some reason, the header is being included but it's not globally declaring the 'class B'. It's really strange, and another programmer said he couldn't explain it.

The best I can do is go through it with a fine toothcomb and hopefully find where it's not declaring properly.
GeneralRe: A class within a class Pin
Stuart Dootson12-Mar-09 12:08
professionalStuart Dootson12-Mar-09 12:08 
GeneralRe: A class within a class Pin
Chris Copeland12-Mar-09 12:18
mveChris Copeland12-Mar-09 12:18 
QuestionMemory Checker Tools Pin
BobInNJ12-Mar-09 9:49
BobInNJ12-Mar-09 9:49 
QuestionRe: Memory Checker Tools Pin
David Crow12-Mar-09 10:06
David Crow12-Mar-09 10:06 
AnswerRe: Memory Checker Tools Pin
BobInNJ12-Mar-09 10:09
BobInNJ12-Mar-09 10:09 
GeneralRe: Memory Checker Tools Pin
David Crow12-Mar-09 10:12
David Crow12-Mar-09 10:12 
GeneralRe: Memory Checker Tools Pin
BobInNJ12-Mar-09 10:15
BobInNJ12-Mar-09 10:15 
AnswerRe: Memory Checker Tools Pin
Yusuf12-Mar-09 12:46
Yusuf12-Mar-09 12:46 
QuestionHow to trigger a hotkey event using MFC? Pin
DavidA200512-Mar-09 7:12
DavidA200512-Mar-09 7:12 
QuestionMFC beginner Pin
p_196012-Mar-09 5:55
p_196012-Mar-09 5:55 
AnswerRe: MFC beginner Pin
Joe Woodbury12-Mar-09 7:01
professionalJoe Woodbury12-Mar-09 7:01 
AnswerRe: MFC beginner Pin
CPallini12-Mar-09 10:33
mveCPallini12-Mar-09 10:33 
AnswerRe: MFC beginner Pin
Yusuf12-Mar-09 12:48
Yusuf12-Mar-09 12:48 
AnswerRe: MFC beginner Pin
Hamid_RT12-Mar-09 20:02
Hamid_RT12-Mar-09 20:02 
QuestionMultithreading C++ Pin
PankajB12-Mar-09 3:39
PankajB12-Mar-09 3:39 
AnswerRe: Multithreading C++ Pin
Akt_4_U12-Mar-09 3:47
Akt_4_U12-Mar-09 3:47 
AnswerRe: Multithreading C++ Pin
A_xin12-Mar-09 6:12
A_xin12-Mar-09 6:12 

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.