Hi Ashraf,

Yes you can do that but you must go completely through the source code and
change every instance of the database name and Creator ID, as well as in the
Project settings window.

Barry


Hello,
My first question is that can I create a new copy of the DateBook 
application by only changing the Creator ID as well as the database 
name, then download the new copy to the device and run it there without 
deleting the original DateBook application?

If yes, then I get the problem below when I do so.

I am adding a minor changes to the DateBook application and I am trying 
to create a new copy of it and downloaded to my Tungsten W device. The 
problem is when I change the creator ID and the database name of the 
original DateBook and run the code I get a SysFatalAlert from the 
AlarmMgr.c because of an I am passing an invalid dbID (0 value)

The function that is causing this problem is ALarmSetTrigger() function 
where the line below returns dbID of 0 which is wrong because the db is 
there and successfully created.

DmGetNextDatabaseByTypeCreator (true, &searchInfo, sysFileTApplication, 
dateBookCreator, true, &cardNo, &dbID);

The changes I add do not give me any problem when I run them with the 
original DateBook application (before changing the creator and database 
name). So I know the problem is not from the code I add.


I appreciate any feedback

Thanks
Ashraf

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



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

Reply via email to