🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.palmtops.pilot
Article #129

Re: Application Information Block, how to access

#129
From: Ben Combee
Date: Tue, 17 Feb 2004 02:15
21 lines
2425 bytes
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.

-- 
Ben Combee <bcombee@metrowerks.com>
CodeWarrior for Palm OS technical lead
Palm OS programming help at http://www.palmoswerks.com/
Technical Details
Message-ID: <hPeYb.6771$tL3.4311@newsread1.news.pas.earthlink.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!7867dc9d!not-for-mail
References: <f0c5ae48.0402161659.26908c35@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109e18,c4f13e881a3986bb
X-Google-Attributes: gid109e18,public
X-Google-Thread: 112073,c4f13e881a3986bb
X-Google-Attributes: gid112073,public
X-Google-Thread: 10baa0,c4f13e881a3986bb
X-Google-Attributes: gid10baa0,public
X-Google-ArrivalTime: 2004-02-16 18:15:41 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!7867dc9d!not-for-mail
From: Ben Combee <combee@techwood.org>
User-Agent: Mozilla Thunderbird 0.5a (Windows/20040128)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.sys.palmtops.pilot,codewarrior.palm,comp.sys.palmtops
Subject: Re: Application Information Block, how to access
References: <f0c5ae48.0402161659.26908c35@posting.google.com>
In-Reply-To: <f0c5ae48.0402161659.26908c35@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 21
Message-ID: <hPeYb.6771$tL3.4311@newsread1.news.pas.earthlink.net>
Date: Tue, 17 Feb 2004 02:15:41 GMT
NNTP-Posting-Host: 63.246.172.161
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread1.news.pas.earthlink.net 1076984141 63.246.172.161 (Mon, 16 Feb 2004 18:15:41 PST)
NNTP-Posting-Date: Mon, 16 Feb 2004 18:15:41 PST
Organization: EarthLink Inc. -- http://www.EarthLink.net