×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Regular Contributor
    Join Date
    Jan 2009
    Location
    Dhaka,Bangladesh
    Posts
    146

    ShutdownAndRestart makes an syntex error for 5th edition

    Hi,

    I have aplication using ShutdownAndRestart working fine in SDK 3rd, but when I go to SDK 5th I have problem with "undefined symbiol to `SysStartup::ShutdownAndRestart(TUid const&, TSWStartupReason)"
    sysutil lib are exist and are included.What should i do now?

    Thanks for advance.
    Saniat

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

    Re: ShutdownAndRestart makes an syntex error for 5th edition

    That API was stubbed out from FP2 and later, you will need to raise a support and partnering request and business justification to get the new API.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  3. #3
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: ShutdownAndRestart makes an syntex error for 5th edition

    Quote Originally Posted by saniat.rasel View Post
    Hi,

    I have aplication using ShutdownAndRestart working fine in SDK 3rd, but when I go to SDK 5th I have problem with "undefined symbiol to `SysStartup::ShutdownAndRestart(TUid const&, TSWStartupReason)"
    sysutil lib are exist and are included.What should i do now?

    Thanks for advance.
    That API was never public and should not have been used. Why exactly are you rebooting the phone?
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  4. #4
    Regular Contributor
    Join Date
    Jan 2009
    Location
    Dhaka,Bangladesh
    Posts
    146

    Re: ShutdownAndRestart makes an syntex error for 5th edition

    Thanks for reply.
    If i manage the DevCert for PowerMgmt capability then is it possible to do so?
    Thanks in advance.
    Saniat

  5. #5
    Regular Contributor
    Join Date
    Jan 2009
    Location
    Dhaka,Bangladesh
    Posts
    146

    Re: ShutdownAndRestart makes an syntex error for 5th edition

    Quote Originally Posted by ltomuta View Post
    That API was never public and should not have been used. Why exactly are you rebooting the phone?
    I want to format the phone memory that the user can not be able to retrive the data from any data recovery application.
    Thanks in advance.
    Saniat

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: ShutdownAndRestart makes an syntex error for 5th edition

    Format and wipe are two different things. If such recovery software existed which could retrieve data after deletion, it would probably work after format too.

  7. #7
    Regular Contributor
    Join Date
    Jan 2009
    Location
    Dhaka,Bangladesh
    Posts
    146

    Re: ShutdownAndRestart makes an syntex error for 5th edition

    Thanks wizard_hu_ for reply.
    First i delete all the files and folder of the ph memory(if possible to delete).then calculate the free space and write garbage data file with that space size and then delete my file.
    So hw to overcome the "undefined symbiol to `SysStartup::ShutdownAndRestart(TUid const&, TSWStartupReason)" though i aleady put the header,lib and capabilities.

    Thanks in advance.
    Saniat

  8. #8
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: ShutdownAndRestart makes an syntex error for 5th edition

    You cannot overcome that limitation. The API does not exist so it's pointless for you to try to link it to any random library. I'm also still not clear as to what the use of the API is but if you think you have a valid use case apply for the needed API through the API Partnering process.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  9. #9
    Regular Contributor
    Join Date
    Jan 2009
    Location
    Dhaka,Bangladesh
    Posts
    146

    Re: ShutdownAndRestart makes an syntex error for 5th edition

    Thnaks Itomuta for clearing this.
    I have a valid use case to use this API.though i can not use this API for 5th edition then is there any public api which can do ShutdownAndRestart?or any private api without Partnering ?

    thanks in advance.
    Saniat

  10. #10
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: ShutdownAndRestart makes an syntex error for 5th edition

    There is no such thing as "private without API partnering". You may jump at any time into a public bus but you can't just asume to use my private car for a ride without getting my permission first.
    Last edited by ltomuta; 2009-07-06 at 12:27. Reason: Corrected typo
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  11. #11
    Regular Contributor
    Join Date
    Jan 2009
    Location
    Dhaka,Bangladesh
    Posts
    146

    Re: ShutdownAndRestart makes an syntex error for 5th edition

    ok.i understand.
    so which certificate i need to get those api.
    Is DiskAdmin capabilities enough for getting this private api?or may i need another capabilities?

    thanks in advance.
    Saniat

  12. #12
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: ShutdownAndRestart makes an syntex error for 5th edition

    This has nothing to do with capabilities. Or, to continue the above analogy the capabilities would be your driving license. Presuming that you get my approval for driving one of my cars you will need to have a valid driving license that corresponds to the type of car available. If you have it, you can drive. If you don't you can't. :)
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  13. #13
    Regular Contributor
    Join Date
    Jan 2009
    Location
    Dhaka,Bangladesh
    Posts
    146

    Re: ShutdownAndRestart makes an syntex error for 5th edition

    Thanks ltomuta.
    It is a nice conversation with u.a lot of knowledge u share here and also your humourios mind. ;-)
    Saniat

Similar Threads

  1. Extended Panic Code in Series 60 Third Edition Emulator
    By razas in forum Symbian Tools & SDKs
    Replies: 6
    Last Post: 2007-08-17, 12:06
  2. Replies: 2
    Last Post: 2006-05-25, 10:00
  3. TTime : TInt64& Int64() problem in S60 3rd edition
    By iulian_moldovan in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2006-01-24, 13:07

Posting Permissions

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