r_z_aret
Mon Apr 03 16:41:54 CDT 2006
On Mon, 3 Apr 2006 09:40:04 -0700, Michael
<Michael@discussions.microsoft.com> wrote:
>I have an application that is running on both Pocket PC 2003 and Windows
>Mobile 5.0 devices. Is it possible to query the device at runtime to
>determine which OS it is currently running on?
Yes.
I just used google (
http://groups.google.com/advanced_group_search) to
look up
platform run time
in this newsgroup and got 277 hits. I took a quick look and am quite
sure you'll find useful info.
But are you _sure_ you've asked the right question? If you are just
trying to inform the user, fine. But if you are trying to determine
what functions/features are supported, you will probably be better off
testing for them more directly. Or you may need to make compile-time
choices.
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com