×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    10

    Occurrence of some class

    Hi Everybody!

    I have created a project by Carbide C++ 2.o. (Open C Console Application)my program uses test class CPlayerUtility.

    I have imported all lib to support for this class.

    My problem on my code is "Occurrence of 'CPlayerUtility'". i am worry about that.

    Can you help me?

    Thanks you very much!

    Phan Van Tiep

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Occurrence of some class

    My problem on my code is "Occurrence of 'CPlayerUtility'". i am worry about that.
    Sorry to say but did not understand what is the problem is ?

  3. #3
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Occurrence of some class

    Quote Originally Posted by phanvantiep View Post
    Hi Everybody!

    I have created a project by Carbide C++ 2.o. (Open C Console Application)my program uses test class CPlayerUtility.

    I have imported all lib to support for this class.

    My problem on my code is "Occurrence of 'CPlayerUtility'". i am worry about that.

    Can you help me?

    Thanks you very much!

    Phan Van Tiep
    Also you can post query related to Open C in a "Open C" section.
    http://discussion.forum.nokia.com/fo...play.php?f=137

  4. #4
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: Occurrence of some class

    between 'CPlayerUtility' is not a standard class too !

    so you will need to tell more about this class and the error you are facing !
    Amit Kankani
    Nokia Developer Champion

  5. #5
    Registered User
    Join Date
    Aug 2008
    Posts
    10

    Re: Occurrence of some class

    Hi Everybody!

    I said a lot about my program

    1. My program writes Carbide C++ 2.0. I write application on Basic Console Application (EXE). My program work very well on emulator. (Such as Read file .wav)

    2. I build file .sis and register on web site Signed Symbian. And then, I setup on Nokia N78 but program doesn’t work on Nokia N78.

    3. I change my program from Basic application Console (EXE) to Open C console application. I copy all lib, file inc, src, and modified .mmp. My problem is program can build not error and can run on emulator. When function ò my write start program exit emulator.

    4. I don’t know differently of Basic Console Application (EXE) and Open C Console Application. Can you help me this problem?

    5. I am worry about on (.EXE) work very well but on Open C doesn’t work (We are the same function).

    6. On open C, Some Function on my program is “Occurrences of “

    7. Can you help me about document of (.EXE) and Open C and ?

    Some information for you

    Thanks for your support

    Phan Van Tiep

  6. #6
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Occurrence of some class

    Quote Originally Posted by phanvantiep View Post
    Hi Everybody!

    I said a lot about my program

    1. My program writes Carbide C++ 2.0. I write application on Basic Console Application (EXE). My program work very well on emulator. (Such as Read file .wav)

    2. I build file .sis and register on web site Signed Symbian. And then, I setup on Nokia N78 but program doesn’t work on Nokia N78.
    Have your application launched on device??? What is panic code???
    Check this article to get panic code from device.
    http://wiki.forum.nokia.com/index.ph...ded_panic_code

    I do not know much about Open C. so m sorry about other questions.

  7. #7
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Occurrence of some class

    Which Device you are tring. In old devices you have to install OpenC/C++ Run time.

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,671

    Re: Occurrence of some class

    Quote Originally Posted by phanvantiep View Post
    1. My program writes Carbide C++ 2.0. I write application on Basic Console Application (EXE). My program work very well on emulator. (Such as Read file .wav)

    2. I build file .sis and register on web site Signed Symbian. And then, I setup on Nokia N78 but program doesn’t work on Nokia N78.
    "Basic Console Application" does not read .wav files, so you have modified the code, with something that does not work.
    Two things to check
    - the panic code as suggested by Savaj
    - and the logfile of the emulator: http://wiki.forum.nokia.com/index.php/Epocwind.out, check if it contains "platsec warning" messages
    4. I don’t know differently of Basic Console Application (EXE) and Open C Console Application. Can you help me this problem?

    5. I am worry about on (.EXE) work very well but on Open C doesn’t work (We are the same function).
    Such change will not help.
    6. On open C, Some Function on my program is “Occurrences of “
    Complete error messages are easier to understand, copy them from the Console view of Carbide.

  9. #9
    Registered User
    Join Date
    Aug 2008
    Posts
    10

    Re: Occurrence of some class

    Hi All

    1. My program (.EXE)can run on emulater (Read file very well). But i can not setup on N78 so i change program

    2. When i change to UI Design program program can not work. program run on emulator program exit when execure function Read file of may program

    Can you help me?

    Thanks for your support

    Phan Van Tiep

  10. #10
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Occurrence of some class

    what error you are getting ?

  11. #11
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Occurrence of some class

    Quote Originally Posted by phanvantiep View Post
    When i change to UI Design program program can not work. program run on emulator program exit when execure function Read file of may program
    It is easy to catch panic on emulator. Enable Just-in-time Debugger and get panic code.

  12. #12
    Registered User
    Join Date
    Feb 2009
    Posts
    6

    Re: Occurrence of some class

    Hi All!

    I and Mr. Phanvantiep are partner together to develop for this project. I can share some thing about this project’s history in order to clarify this matter.
    We develop an application for S60 mobile phone. At the first time, the type of application is Basic Console Application – an built-in template for application of Carbide C++ IDE. The program run very well on emulator. Then, We built the program to install on S60 device application (N78 Mobile Phone). All progress are okay. The sis file of program is created successfully. Then, We signed in our program at https://www.symbiansigned.com website. Then, we installed the signed program on Nokia N78. We follow to all step to install an application. The Nokia Installer inform installation progress successfully. But, We can not find the icon of my program in Application folder under Menu. Meanwhile, The icon of my program present in the Installed Application folder.
    We can not find any reason for this problem. Can you share for us the reason and solution for this problem?

    After that, we change the type of application to S60 Console Application. I built the program successfully with no error occurred. Then, We ran the program on the emulator, the program is interrupted when function Speak() is called. In the Carbide C++ IDE. We detect difference in the source of program between tow type of program Basic and S60 console application. The Difference is as below:
    In the Basic Console Application:



    And S60 Console Application:




    We need a help for this problem !

  13. #13
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Occurrence of some class

    can you show your vietVoice Class.

  14. #14
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,671

    Re: Occurrence of some class

    You should still get the error message. The cryptic string in the form of "SOMETHING-Bad 123"
    The missing icon is probably a problem in the .pkg file. Make sure that you are installing the _reg.rsc, and into a proper place ("!:\private\10003a3f\import\apps\xy_reg.rsc")

  15. #15
    Registered User
    Join Date
    Aug 2008
    Posts
    10

    Read file form text file in the memory

    Dear All

    My program use function for read file for .txt

    phan van tiep
    Last edited by phanvantiep; 2009-06-12 at 16:23.

Similar Threads

  1. [moved] help me for some issues in DLL
    By sean_bean in forum Symbian
    Replies: 0
    Last Post: 2009-03-05, 10:27
  2. Convert pure C++ class to Symbian C++ class
    By symbi4n_programmer in forum Symbian
    Replies: 4
    Last Post: 2009-02-28, 21:22
  3. External Linking Error (Undefined Symbol)
    By nile_mail in forum Symbian
    Replies: 2
    Last Post: 2008-08-05, 13:10
  4. Hi! Can u tell me whats wrong in this code? Thanks
    By qt_chenchen in forum Symbian
    Replies: 12
    Last Post: 2008-07-17, 06:17
  5. Exceptions while loading application
    By avinash_rs in forum Mobile Java General
    Replies: 0
    Last Post: 2003-06-09, 10:53

Posting Permissions

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