John Powers wrote:
> I want to sort my database after a sysAppLaunchCmdSyncNotify, but
> DmOpenDatabaseByTypeCreator always returns a zero. However, DmOpenDatabase
> will open the database successfully. DmOpenDatabaseByTypeCreator works
> correctly in other places, why doesn't it work for
> sysAppLaunchCmdSyncNotify?
>
> Can someone tell me why?
My guess is that you've got an access conflict. Are you trying to open the db for r/w
when having received the notification while
your app is running? If so then this'll be the problem and you'll have to use globals
to determine the opened DmOpenRef.
-C
--
Christopher Hunt
Class Action Pty. Ltd.
Complete time zone management for the Palm(tm) connected organizer.
Check out http://www.classactionpl.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html