>I use the following check to see if the device is a Palm VII:
>
> err = DmGetNextDatabaseByTypeCreator(true,&searchState,
>sysFileTApplication,
> sysFileCClipper, true, &cardNo, &dbID);
>
>The problem is that it seems to work also for Palm V's that are hooked to
>an OmniSky modem.
Right, because all you're doing is looking to see if the Clipper
application exists. Any device could theoretically have Clipper on it,
even a PalmPilot.
>What check should I be doing to make sure that my software is running on a
>Pam VII and only on this device?
Nearly all of the time when people ask a question like this, that's not
really what they want to know. The product name on the outside of the box
is rarely the thing that is relevant - it usually is something about the
hardware or software installed that is the real issue. (As an example, if
IBM started selling a Palm VII-style device under the name Workpad, would
your software need to care? Probably not. And for a different example,
there are two devices with the name "Palm VII" on the market, with
different processors and internal hardware though to a user they're
essentially identical.)
What do you really want to know? The processor kind? Whether it has a
built-in radio or snapon? Whether it uses the Bellsouth network? The
physical dimensions? Whether it has AAA batteries or rechargeable?
And remember to not paint yourself into a corner by assuming there won't be
other devices coming which do Web Clipping, from different companies and/or
with different radios and/or different form factors and/or different price
plans and/or whatever else you can think of.
In short, what do you really want to know?
-David Fedor
Palm Developer Support
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html