×

Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,688

    Re: change softkey shortcuts on an "installing-SIS-file application"

    Let us practise reading:
    Quote Originally Posted by Wiki page
    ...
    S60 3rd Edition
    To get the emulator display the reason and error code for panics, start the emulator, then open its Tools -> Preferences menu, and finally make sure the "Extended panic code file" option is checked on the C++ Debug tab. (This has the effect of creating a zero-sized file named ErrRd (no file name extension) under the PC's directory %EPOCROOT%\epoc32\wins[cw|b]\c\resource\.)

    On the device, you should create a zero-sized file ErrRd (no file name extension) under the directory c:\resource\. You can use a file explorer application (for instance, FExplorer) to create the file, or if none is available, use a signed sis file. In case you don't want to use ErrRd, then you could also use Y-Tasks Crash monitor.

    You can obtain a prebuilt sis file from here (file signature updated, valid until 2018)
    ...
    The red thing is a link on that page.

  2. #17
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: change softkey shortcuts on an "installing-SIS-file application"

    Lets get the panic code before doing anything more.

    My guess is ShortcutMaker need to be an active object that is kicked off when the active scheduler is started and stopped when the shortcut is completed.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  3. #18
    Registered User
    Join Date
    Dec 2008
    Posts
    13

    Re: change softkey shortcuts on an "installing-SIS-file application"

    Ok, after practising some reading, I installed Y-Tasks and got this:

    Code:
    Main KERN-EXEC: 3

  4. #19
    Registered User
    Join Date
    Dec 2008
    Posts
    13

    Re: change softkey shortcuts on an "installing-SIS-file application"

    Hi Paul.Todd, I think that your prognosis is wrong, due to the fact that the application crashes during this:

    Code:
    iShortcut = CScShortcutEngineWrapper::NewL(iSession,*this);
    And regarding this,
    You need to delay and retry until your application is found
    , i've tried to delay using Getch() (before the instantiation of ShortcutMaker) , it still crashes.

  5. #20
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: change softkey shortcuts on an "installing-SIS-file application"

    My advice still stands:
    -Put your class into an active object.
    -Use 2 phase construction so that you know the object's VMT is correctly setup before it is potentially used
    -Schedule the active object
    -Start the active scheduler
    -Let the active object actually do the change once the list has completed initializing.
    -Its possible though unlikely as its such a small program (according to the code shown), you might have run out of stack space
    (see http://wiki.forum.nokia.com/index.ph...60_3rd_Edition)

    You have so many things that are different both from the solution provided in the example, from our own implementation which I know works and from standard Symbian c++ that I have no idea or time to work out which is wrong without a lot of unpaid investigation.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

Similar Threads

  1. Replies: 0
    Last Post: 2008-02-14, 10:27
  2. File corrupted - with signed sis
    By annehj in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2007-12-10, 13:44
  3. Replies: 1
    Last Post: 2005-05-26, 14:22
  4. Replies: 0
    Last Post: 2002-06-10, 12:24

Posting Permissions

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