Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2008

    Error in my program

    Hi i am new to symbian c++, I was trying to execute the program but i am getting panic.

    panic: KERN-EXEC 0

    I dont know why is giving this error.

    Mysta.exe is there in WINSCW/C/System/apps directory

    //code starts here
    #include <e32base.h>
    #include <e32cons.h>
    #include <e32std.h>
    LOCAL_D CConsoleBase* console;
    void LaunchProcessL()
    RProcess proc;

    proc.Resume(); // start the process running


    TInt E32Main()
    CTrapCleanup* cleanup = CTrapCleanup::New();
    TRAPD(createError, console = Console::NewL(_L("Hai"), TSize(KConsFullScreen,KConsFullScreen)));

    if (createError)
    return createError;
    TRAPD(err, LaunchProcessL());
    delete cleanup;

    return 0;
    //code ends here

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: Error in my program

    Try debuging your code in order to locate the line which fails.

Similar Threads

  1. Can a Symbian C++ client program communicate with a program residing on a webserver ?
    By razas in forum Symbian Networking & Messaging (Closed)
    Replies: 21
    Last Post: 2007-11-19, 17:33
  2. problem in a j2me program on Nokia 6630/6680
    By lappard in forum Mobile Java General
    Replies: 1
    Last Post: 2006-06-29, 01:43
  3. problem in j2me program on Nokia 6630/6680
    By lappard in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2006-06-28, 16:32
  4. Connecting Java(J2SE) program on PC with SymbianC++ program on mobile using bluetooth
    By dotmilind in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-03-25, 23:10
  5. Replies: 1
    Last Post: 2005-05-24, 02:26

Posting Permissions

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