Click here to Skip to main content
15,891,828 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: about thread memory space Pin
DSPCottage8-Oct-07 1:35
DSPCottage8-Oct-07 1:35 
AnswerRe: about thread memory space Pin
chandu0048-Oct-07 2:00
chandu0048-Oct-07 2:00 
QuestionHow to get Quit Event from WORD? Pin
PhanMinhDuy7-Oct-07 21:37
PhanMinhDuy7-Oct-07 21:37 
Questiontransfer to login page Pin
Rafiuddinmd7-Oct-07 21:21
Rafiuddinmd7-Oct-07 21:21 
QuestionRe: transfer to login page Pin
Nelek7-Oct-07 21:36
protectorNelek7-Oct-07 21:36 
QuestionRe: transfer to login page Pin
David Crow8-Oct-07 3:51
David Crow8-Oct-07 3:51 
AnswerRe: transfer to login page Pin
Iain Clarke, Warrior Programmer8-Oct-07 6:46
Iain Clarke, Warrior Programmer8-Oct-07 6:46 
Questionmutual connection class Pin
JesusLeFou1327-Oct-07 21:03
JesusLeFou1327-Oct-07 21:03 
Hi,

I have a little problem in class declaration. Sigh | :sigh:

It is easy to understand, and to solve too, I believe: my class are declared in 2 separated header files:

A.h =>
#pragma once
#include "B.h"

class A
{
protected:
B* m_Bparam;
...
}<=

B.h =>
#pragma once

class B
{
protected:
A* m_Aparam
...
}<=

I imagine you can see the problem. When starting to compile A.h file, it will read B.h where a A type parameter is declared, but the compiler doesn't know the class A yet.

Is there any keyword to help solve this solution? I think I can find a workaround by using interfaces, but I imagine there is an easier way to do so, and get a clean program.

Thank you in advance,

Fred Wink | ;)
AnswerRe: mutual connection class Pin
Roger Broomfield7-Oct-07 21:09
Roger Broomfield7-Oct-07 21:09 
AnswerRe: mutual connection class Pin
Cedric Moonen7-Oct-07 21:16
Cedric Moonen7-Oct-07 21:16 
GeneralRe: mutual connection class Pin
JesusLeFou1327-Oct-07 21:58
JesusLeFou1327-Oct-07 21:58 
QuestionHow to add a page in the mouse of the control panel ? Pin
nike_zzyun7-Oct-07 20:38
nike_zzyun7-Oct-07 20:38 
AnswerRe: How to add a page in the mouse of the control panel ? Pin
Hamid_RT7-Oct-07 21:21
Hamid_RT7-Oct-07 21:21 
GeneralRe: How to add a page in the mouse of the control panel ? Pin
nike_zzyun7-Oct-07 21:40
nike_zzyun7-Oct-07 21:40 
QuestionErrors about #import. Help me. Pin
kcynic7-Oct-07 17:46
kcynic7-Oct-07 17:46 
AnswerRe: Errors about #import. Help me. Pin
ShilpiP7-Oct-07 22:42
ShilpiP7-Oct-07 22:42 
GeneralRe: Errors about #import. Help me. Pin
kcynic7-Oct-07 23:20
kcynic7-Oct-07 23:20 
QuestionHow to locate Application Folder in MFC? Pin
TooShy2Talk7-Oct-07 16:56
TooShy2Talk7-Oct-07 16:56 
AnswerRe: How to locate Application Folder in MFC? Pin
Roger Broomfield7-Oct-07 19:15
Roger Broomfield7-Oct-07 19:15 
QuestionSetting item / row height in CListCtrl Pin
s196675m7-Oct-07 16:34
s196675m7-Oct-07 16:34 
AnswerRe: Setting item / row height in CListCtrl Pin
Naveen7-Oct-07 20:17
Naveen7-Oct-07 20:17 
Questionconvert twips to pixels? Pin
littleGreenDude7-Oct-07 15:07
littleGreenDude7-Oct-07 15:07 
AnswerRe: convert twips to pixels? Pin
Mark Salsbery7-Oct-07 15:38
Mark Salsbery7-Oct-07 15:38 
GeneralRe: convert twips to pixels? Pin
littleGreenDude9-Oct-07 4:32
littleGreenDude9-Oct-07 4:32 
GeneralRe: convert twips to pixels? Pin
littleGreenDude9-Oct-07 4:38
littleGreenDude9-Oct-07 4:38 

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.