|
Argh, can't find the reason of this error..
Hmm, got a little prob with my app:
I''ve got a file Mesh.cpp and a file with the program starting point Main.cpp
App is a class wich is defined in a header and included in Main.cpp
"extern App* pApp" can be found in stdafx.h
Now I want to do this:
Now when compiling that stuff, I''m getting this error:
"error C2653: ''pApp'' : is not a class or namespace name"
But it really is a class and it is defined..
Does someone know what''s the prob with the code?
I can''t see something wrong about it...
No, pApp is no class, it's a pointer to an object (I assume). And the member DEV_3D is an enum or so, am I right?
So if pApp is declared as
CApplication *pApp;
try using
That could work.
Edited by - VolkerG on May 13, 2001 5:08:04 AM
So if pApp is declared as
CApplication *pApp;
try using
|
That could work.
Edited by - VolkerG on May 13, 2001 5:08:04 AM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement