| | |
Ask a problem,about inheritance :)
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jul 2006
Posts: 14
Reputation:
Solved Threads: 0
Ask a problem,about inheritance 
error:
error C2039: 'classCmView' : is not a member of 'CmView'
see declaration of 'CmView'
error C2065: 'classCmView' : undeclared identifier
why......
thank you

C++ Syntax (Toggle Plain Text)
****************static DLL***************** <<<<<<<<<CmView.H>>>>>>>>>>> #pragma once class AFX_NOVTABLE CmView : public CView { public: __declspec(dllexport) CmView(); }; <<<<<<<<<CmView.CPP>>>>>>>> #include "stdafx.h" #include "CmView.h" CmView::CmView() { } ******************static EXE****************** <<<<<<<<EXEView.h>>>>>>>>> #pragma once #include "CmView.h" #pragma comment(lib,"dll.lib") class EXEView : public CmView { ........... }; <<<<<<<<<EXEView.Cpp>>>>>>>>> #include "stdafx.h" #include "EXEView.h" #ifdef _DEBUG #define new DEBUG_NEW #endif IMPLEMENT_DYNCREATE(CInfoEngineView, CmView) .......................
error C2039: 'classCmView' : is not a member of 'CmView'
see declaration of 'CmView'
error C2065: 'classCmView' : undeclared identifier
why......
thank you
Last edited by WolfPack; Jul 14th, 2006 at 1:43 am.
![]() |
Similar Threads
- Problem with inheritance (C++)
- problem about font (C)
- Problem with program (Java)
- inheritance, polymorphism, and other features (C++)
- Point to Point3D Inheritance (C++)
- multiple inheritance (C)
- also having a problem with inheritance (C++)
- hybrid inheritance prob (C++)
Other Threads in the C++ Forum
- Previous Thread: C++ Mortgage Calculations Help!!
- Next Thread: checking for Connect 4
Views: 1295 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for C++
6 api array arrays based beginner binary bmp c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete deploy dll download dynamic encryption error file forms fstream function functions game givemetehcodez graph gui homeworkhelp iamthwee ifstream input int java lib library lines linkedlist linker list loop looping loops map math matrix memory microsoft newbie news number output pointer problem program programming project python random read recursion recursive reference return simple sort spoonfeeding stream string strings struct temperature template templates test text text-file tree url variable vector video visual visualstudio void win32 windows winsock wordfrequency wxwidgets





