×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2007
    Location
    China
    Posts
    19

    VC create a new class

    How can i use the vc to create a new symbian class?I am troubled with it.is it have some shortcut?

  2. #2
    Super Contributor
    Join Date
    Jul 2006
    Location
    Oulu, Finland.
    Posts
    1,174

    Re: VC create a new class

    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

  3. #3
    Registered User
    Join Date
    Jul 2005
    Location
    Bengaluru, India
    Posts
    747

    Re: VC create a new class

    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.

  4. #4
    Registered User
    Join Date
    Jan 2007
    Location
    China
    Posts
    19

    Re: VC create a new class

    Thanks very much

Similar Threads

  1. Help needed with +CPMS, +CNMI for Class 0,1,2 SMs
    By joe--joe in forum General Messaging
    Replies: 3
    Last Post: 2009-03-09, 14:55
  2. Cannot create class in system package
    By rooster13 in forum Mobile Java General
    Replies: 7
    Last Post: 2007-09-29, 17:19
  3. How to Create Class of CSIPProfile which register SIP Server with in SIP Plug-in 4.0?
    By jason-symbian in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-03-01, 02:55
  4. "cannot create class in system package" help!!
    By seewan22 in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2006-02-04, 00:35
  5. cannot create class in system package
    By natrixnt in forum Mobile Java General
    Replies: 6
    Last Post: 2003-08-05, 08:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×