At 3:14 PM -0800 12/15/99, Steve Austin wrote:
>Since palm applications are really just resource databases, is there a
>function I can call that returns a pointer to my applications resource database?
I don't know of any API specifically for this purpose. Assuming your database is the
only database with type = 'appl' and creator = <your registered creator ID>, which is
probably a valid assumption, you can use DmOpenDatabaseByTypeCreator. If you don't
want to make this assumption, but are willing to assume your application resides on
card number zero, you can use DmFindDatabase to find the LocalID of the application
database by its name (which must be unique) and then use DmOpenDatabase to open it.
The database is probably already open, but you should be able to open it again
read-only.
-
Danny Epstein, Applied Thought Corporation
Have friends with Palm organizers? Get BeamBooks!
http://www.appliedthought.com/beambooks