Click here to Skip to main content
16,011,647 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: compiling errors with xutility header file Pin
zlatnik15-Jul-04 12:37
zlatnik15-Jul-04 12:37 
GeneralRe: compiling errors with xutility header file Pin
vmaltsev15-Jul-04 12:41
vmaltsev15-Jul-04 12:41 
GeneralRe: compiling errors with xutility header file Pin
zlatnik15-Jul-04 12:47
zlatnik15-Jul-04 12:47 
GeneralRe: compiling errors with xutility header file Pin
vmaltsev15-Jul-04 12:57
vmaltsev15-Jul-04 12:57 
GeneralFound solution: code compiles fine in VC++ 6.0 Pin
zlatnik16-Jul-04 9:38
zlatnik16-Jul-04 9:38 
GeneralClasses which call each other's methods Pin
0v3rloader15-Jul-04 11:28
0v3rloader15-Jul-04 11:28 
GeneralRe: Classes which call each other's methods Pin
Antti Keskinen15-Jul-04 11:44
Antti Keskinen15-Jul-04 11:44 
GeneralRe: Classes which call each other's methods Pin
0v3rloader15-Jul-04 11:53
0v3rloader15-Jul-04 11:53 
Thanks Antti, once again.
I did exactly like you said (which is very logical, now that I think about it), but it isn't working yet. This time I get different compiling errors:

m:\~alibrary\projects\vc++\xig1\v2.0\xig1view.h(27) : error C2027: use of undefined type 'CXiG1View'<br />
        m:\~alibrary\projects\vc++\xig1\v2.0\xig1view.h(15) : see declaration of 'CXiG1View'<br />
m:\~alibrary\projects\vc++\xig1\v2.0\xig1view.h(27) : error C2065: 'classCXiG1View' : undeclared identifier<br />
m:\~alibrary\projects\vc++\xig1\v2.0\xig1view.h(35) : error C2027: use of undefined type 'CXiG1View'<br />
        m:\~alibrary\projects\vc++\xig1\v2.0\xig1view.h(15) : see declaration of 'CXiG1View'<br />
m:\~alibrary\projects\vc++\xig1\v2.0\xig1view.h(35) : error C2227: left of '->pConsole' must point to class/struct/union<br />
m:\~alibrary\projects\vc++\xig1\v2.0\xig1view.h(35) : error C2227: left of '->Output' must point to class/struct/union


By the way:

CXiGView is a CFormView (and has a CPrompt object)
CPrompt is declared before CXiG1View (and is a custom control derived class)

I declared the classes in the following way now:

class CXiG1View;


class CPrompt : public CXCommandPrompt
{
public:
	CPrompt()
	{
		CWnd *pParent;
	.
	:
	.
};

class CXiG1View : public CFormView
{
	.
	:
	.


What am I missing out here?
GeneralRe: Classes which call each other's methods Pin
Antti Keskinen15-Jul-04 12:04
Antti Keskinen15-Jul-04 12:04 
GeneralRe: Classes which call each other's methods Pin
0v3rloader15-Jul-04 12:23
0v3rloader15-Jul-04 12:23 
QuestionWhy "SAFEARRAY"?? Pin
So and So15-Jul-04 11:25
So and So15-Jul-04 11:25 
QuestionFastest way to find a file exists on hard drive? Pin
xcavin15-Jul-04 11:22
xcavin15-Jul-04 11:22 
AnswerRe: no replies for serious issues. Pin
xcavin15-Jul-04 12:18
xcavin15-Jul-04 12:18 
GeneralRe: no replies for serious issues. Pin
Anders Molin15-Jul-04 12:34
professionalAnders Molin15-Jul-04 12:34 
AnswerRe: Fastest way to find a file exists on hard drive? Pin
Henry miller15-Jul-04 12:32
Henry miller15-Jul-04 12:32 
GeneralRe: Fastest way to find a file exists on hard drive? Pin
Henry miller16-Jul-04 2:47
Henry miller16-Jul-04 2:47 
AnswerRe: Fastest way to find a file exists on hard drive? Pin
Anders Molin15-Jul-04 12:33
professionalAnders Molin15-Jul-04 12:33 
AnswerRe: Fastest way to find a file exists on hard drive? Pin
Anonymous15-Jul-04 20:55
Anonymous15-Jul-04 20:55 
AnswerRe: Fastest way to find a file exists on hard drive? Pin
Blake Miller20-Jul-04 12:29
Blake Miller20-Jul-04 12:29 
GeneralGetDC drawing in win32 Pin
jass198115-Jul-04 10:31
sussjass198115-Jul-04 10:31 
GeneralRe: GetDC drawing in win32 Pin
RobJones15-Jul-04 11:23
RobJones15-Jul-04 11:23 
GeneralLPTSTR, LPCTSTR, CString and others... Pin
Kaleb Pederson15-Jul-04 9:22
Kaleb Pederson15-Jul-04 9:22 
GeneralRe: LPTSTR, LPCTSTR, CString and others... Pin
Toni7815-Jul-04 9:40
Toni7815-Jul-04 9:40 
GeneralRe: LPTSTR, LPCTSTR, CString and others... Pin
Adam Durity15-Jul-04 9:49
Adam Durity15-Jul-04 9:49 
GeneralRe: LPTSTR, LPCTSTR, CString and others... Pin
Antti Keskinen15-Jul-04 9:53
Antti Keskinen15-Jul-04 9:53 

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.