Application Detecting XP Embedded VS XP Professional
bvandette
07-09-2005, 10:24 PM
Is there an officially blessed way for an application to detect that
it's running on XP Embedded versus a general purpose PC running XP
Home or Professional? (Some subfield of GetVersionEx or a Registry
entry perhaps?)
I have different pricing models for the two markets and I need to
be able to differenciate the two operating systems.
Thanks.
Andy Allred [MS]
07-09-2005, 10:24 PM
Check for the NT Embedded platform through OSVersionInfoEx
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/osversioninfoex_str.asp
--
Andy
This posting is provided "AS IS" with no warranties, and confers no rights.
------------------
"bvandette" <bvandette@discussions.microsoft.com> wrote in message
news:F5868381-1929-402F-9813-D0677B5CD919@microsoft.com...
> Is there an officially blessed way for an application to detect that
> it's running on XP Embedded versus a general purpose PC running XP
> Home or Professional? (Some subfield of GetVersionEx or a Registry
> entry perhaps?)
>
> I have different pricing models for the two markets and I need to
> be able to differenciate the two operating systems.
>
> Thanks.
>
Be aware about the bug with GetVersionEx on XPe (SP1):
http://groups-beta.google.com/group/microsoft.public.windowsxp.embedded/search?hl=en&group=microsoft.public.windowsxp.embedded&q=GetVersionEx+&qt_g=1
KM
> Is there an officially blessed way for an application to detect that
> it's running on XP Embedded versus a general purpose PC running XP
> Home or Professional? (Some subfield of GetVersionEx or a Registry
> entry perhaps?)
>
> I have different pricing models for the two markets and I need to
> be able to differenciate the two operating systems.
>
> Thanks.
>
Application Detecting XP Embedded VS XP Professional