Subject: [LM] Re: adding linkmaster support
From: Ben Darnell (bgdarnel@unity.ncsu.edu)
Date: Tue Sep 21 1999 - 18:25:40 EDT
On Tue, Sep 21, 1999 at 04:07:10PM -0400, Tom Dyas wrote:
> Ben,
>
> I applied that patch. However, when I highlight a link in LinkMaster and
> hit "Go", the Pilot just bounces back into LinkMaster. It is as if
> SysCurAppDatabase() is returning LinkMaster as the active application and
> not my application.
>
> The test was done on POSE 2.1d29 with a PalmOS 2.x debug ROM.
>
Now THAT's interesting. It's been a while since I tested with a 2.x
ROM. Under 3.x, SysCurAppDatabase is changed by SysAppLaunch, so it
returns DB on a 3.x device. I need that functionality somewhere (don't
remember where offhand), but there is no way to do it on 3.x. What's
even stranger is that it's not mentioned in any of the faqs or archives
(except for a few people complaining about the incorrect 3.x behavior).
For DB, replace SysCurAppDatabase with a call to DmFindDatabase or
DmGetNextDatabaseByTypeCreator to get the card number and dbid.
-Ben
-- Ben Darnell bgdarnel@unity.ncsu.edu http://www4.ncsu.edu/~bgdarnel/thoughtstream/------------------------------------------------------------------------ @Backup - The #1 Online Backup Service. Protect your files before you lose them. Easy, Reliable, Secure online backups. INSTALL today. http://clickhere.egroups.com/click/938
eGroups.com home: http://www.egroups.com/group/linkmaster http://www.egroups.com - Simplifying group communications
This archive was generated by hypermail 2b25 : Tue Sep 05 2000 - 22:09:10 EDT