hi,

yes it is possible. Just make sure the resource db
is the last one that you opened.

the palmOS will search all the opened dbs for the
matching resource.

the safest is to open the resource db that you want
the show the alert and then close the db after you
are done.

regards

--
Danny Y. Wong
Toysoft, Inc.
www.toysoft.ca



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Bjoern
> Lippold
> Sent: Monday, July 28, 2003 9:47 AM
> To: Palm Developer Forum
> Subject: Alert from Resource in another ResDB
>
>
> Hello,
>
> is it possible to show an alert from another ResourceDatabase, loaded with
> DmGet1Resource ?
>
> Code example:
>
> DmOpenRef  dmRef  = DmOpenDatabase(cardNo, dbID, dmModeReadOnly);
> MemHandle handle = DmGet1Resource('Talt', resID);
> if(!handle) handle = DmGet1Resource('aalt', resID); // OS5
>
> if(handle){
>
>      // Show the Alert (somehow) ???
>
> }
>
> DmReleaseResource(handle);
> DmCloseDatabase(dmRef);
>
>
>
> Thanks,
> Bjoern
>
>
> --
> 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