How to create new M class in VC 6
| Sun, 2004-06-13 17:36 | |
|
Hy
From Visual Studio I tried creating a new interface (M class) using the Epoc Class Wizard. The problem is that such a class doesn't have an .cpp implementation file, and thus no entry is added in the project .mmp file. When I later do "bldmake bldfiles" and "abld makefile vc6" the new vc6 workspace doesn't see the new class (not even the header file, although I created it in the project's inc directory). Should I edit another file other than .mmp? What's the trick here? Thanks a lot in advance. |
|






Forum posts: 683
Forum posts: 732
From Visual Studio I tried creating a new interface (M class) using the Epoc Class Wizard. The problem is that such a class doesn't have an .cpp implementation file, and thus no entry is added in the project .mmp file. When I later do "bldmake bldfiles" and "abld makefile vc6" the new vc6 workspace doesn't see the new class (not even the header file, although I created it in the project's inc directory). Should I edit another file other than .mmp? What's the trick here? Thanks a lot in advance.
The tool comes with EPOC is a stupid one. It will create the file in other location... not in src or inc folder. So you create the C++ Source file and C++ Header file using File->New->Files. But make sure that its creating in correct path by sepecifying the location.
Then you mannually edit the mmp file and add a new line
SOURCE <newlycreatedcppfilename>