How can i use the vc to create a new symbian class?I am troubled with it.is it have some shortcut?
How can i use the vc to create a new symbian class?I am troubled with it.is it have some shortcut?
if you are using 8.0a then there comes the application wizard which creates the basic framework classes for you like document,appui,view/container etc, but if you need to define your own class, then you need to write on your own.
As far as VC IDE is concerned it is just used as an ide, you can create a new class by using File->New->Under Files Tab->C/C++ header or C/C++ Source file.
You can also create the class using any text editor, the only thing to remember is to add the line in the .mmp file
SOURCE yournewclass.cpp
Well, in case if you are using VS .NET 2003 with Carbide.vs, you may use this method. Go to the File menu and select Add New Item. It will bring a dialog, select SymbianOS there you can find options for creating cpp, h files etc, select your choice and follow the instructions.
Though personally I don't like the way Carbide.vs update the mmp file, you've an option to update the MMP file there, select the Project->Update .mmp File, that will add the newly cleated class to the .mmp file.