SysCurAppDatabase() returns the information for the current
application's resource database - that is, the PRC file you're
running. If you want to see different information there, you'd have to
call this function from some OTHER program you've written.

I expect you're trying to use this function for something other than
what its designed to do. What are you trying to accomplish?


On Tue, 25 Jan 2005 04:03:56 -0000, CAT <[EMAIL PROTECTED]> wrote:
> Hello:
>   I try to get the current application's ID by Using SysCurAppDatabase and 
> DmDatabaseInfo as follow:
> 
> ////////////////////////////////////////////////////
> SysCurAppDatabase(&cardNo, &dbID);
> 
> DmDatabaseInfo(cardNo,dbID,dbName,
>          NULL,NULL,NULL,NULL,NULL,
>          NULL,NULL,NULL,NULL,NULL);
> 
> FrmCustomAlert( InfoAlert, dbName, "", "" );
> ////////////////////////////////////////////////////
> 
> The dbName it returns to me is my application,I do it for  several times,but 
> it's never change,anyone,please help!!!!!
> 
> Thanks!!
> 
> --
> 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