Article View: comp.sys.palmtops.pilot
Article #130Re: Application Information Block, how to access
From: Scott Allen
Date: Wed, 18 Feb 2004 17:34
Date: Wed, 18 Feb 2004 17:34
27 lines
2114 bytes
2114 bytes
Opps, I almost forgot, don;t forget this line! UnlockMemPtr(appInfoPtr); :-) Sorry about the multiple posts if there were any. Thanks, -Scott Ben Combee <combee@techwood.org> wrote in message news:<hPeYb.6771$tL3.4311@newsread1.news.pas.earthlink.net>... > Scott Allen wrote: > > Hi, > > > > Does anyone have a sample of code (c or c++ preferably) that > > demonstrates the reading of a Palm pdb's Application Information Block > > (appInfo)? Even just an explination of how to access it would help me > > a lot. > > > > I've looked in a few books and searched online, but so far have only > > been able to find out on what appInfo is, but not how to actually > > access the data it contains. > > On the device, you just call DmGetAppInfoID to get the LocalID of the > application info block. Then use MemLocalIDToLockedPtr to turn that > into a MemPtr, using MemPtrUnlock on it when your done IF and ONLY IF > MemLocalIDKind returned memIDHandle.
Technical Details
Message-ID:
<f0c5ae48.0402180934.87febdc@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<f0c5ae48.0402161659.26908c35@posting.google.com> <hPeYb.6771$tL3.4311@newsread1.news.pas.earthlink.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10baa0,c4f13e881a3986bb X-Google-Attributes: gid10baa0,public X-Google-Thread: 112073,c4f13e881a3986bb X-Google-Attributes: gid112073,public X-Google-Thread: 109e18,c4f13e881a3986bb X-Google-Attributes: gid109e18,public X-Google-ArrivalTime: 2004-02-18 09:34:36 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: scottelloco@yahoo.com (Scott Allen) Newsgroups: comp.sys.palmtops.pilot,codewarrior.palm,comp.sys.palmtops Subject: Re: Application Information Block, how to access Date: 18 Feb 2004 09:34:36 -0800 Organization: http://groups.google.com Lines: 27 Message-ID: <f0c5ae48.0402180934.87febdc@posting.google.com> References: <f0c5ae48.0402161659.26908c35@posting.google.com> <hPeYb.6771$tL3.4311@newsread1.news.pas.earthlink.net> NNTP-Posting-Host: 65.195.62.25 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1077125676 3497 127.0.0.1 (18 Feb 2004 17:34:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 18 Feb 2004 17:34:36 +0000 (UTC)