Alexandre,

It may be a problem in your MyApp application if it handles the 
sysAppLaunchCmdSystemReset launch code, but does something that NVFS is not 
happy with there.

You can test this out by performing a "no-notify" reset instead of a 
standard soft reset.  Install your app, then press and hold the Up 
scroll/nav button and do a pin reset.  Keep holding the Up scroll button 
until you get to Prefs.  This will reset the device without sending the 
sysAppLaunchCmdSystemReset code to all apps.  You can tell the "no-notify" 
reset was successful because you will not see the Tungsten logo and music 
tone after the initial Palm Powered screen -- it will just go right into 
Prefs.

Now, check if your app is deleted or not.  If not, then you can surmise that 
something in the sysAppLaunchCmdSystemReset handler for your app or any 
other app on the device is causing the prc database to be deleted.

Then do a regular soft reset to return to normal operations.  The 
"no-notify" mode should not be used for regular operations because it 
prevents many system libraries and utilities from being loaded properly.


-- 
David Thacker
http://www.SatelliteForms.net
The Premier RAD Tool for PalmOS & PocketPC



"Alexandre Luz Barreto" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>I tried the function to mount the Prc on the TE2 Simulator.
> When i do a soft reset i get a error:
>
> datamgr.c, Line:3319, err opening db for set-database-info
>
> just before it finish reseting.
> and then my prc disapear.
>
> This must be where i lose my prc.
> any clues?
>
> thanx
>
> Alexandre Luz Barreto escreveu:
>> There is no other database with same name differed just by 
>> capitalization.
>> i just have the prc iside a file in the palm
>>
>> for exe:
>>
>> i have MyApp.PRC as a file.. with this exactly name ( including the PRC) 
>> so i use a function to mont it as a real PRC in the palm.
>> so i get MyApp.
>> after that i delete MyApp.PRC
>> then i got just MyApp and it works fine until i soft reset.
>>
>> Thank you Ben Combee
>>
>> Ben Combee escreveu:
>>
>>> At 05:23 AM 12/13/2005, you wrote:
>>>
>>>> Hi Saha.
>>>>
>>>> Thank you for your reply
>>>>
>>>> I tried DmSyncDatabase before close the Prc but didn´t work.
>>>> i will try put some more in the code.
>>>>
>>>> But the weird thing is that just PRCs dissapear. pdbs and Files don´t.
>>>
>>>
>>>
>>> What naming convention are you using for the databases?  There was an 
>>> early NVFS bug where two databases whose names differed only by 
>>> capitalization would both be deleted from the device on reset.
>>>
>>>
>>> -- Ben Combee, Senior Software Engineer, Palm, Inc.
>>>    "Combee on Palm OS" weblog: http://palmos.combee.net/
>>>    Developer Forum Archives:   http://news.palmos.com/read/all_forums/
>>>
>>>
>>
> 



-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to