OS Version for CE5 devices?

Jul 25, 2011 at 3:06 PM

Using the OSVERSIONINFO like this:

Private mRAPI as new RAPI

Dim Iversioninfo as OSVERSIONINFO

 

mRAPI.Connect()

mRAPI.GetDeviceVersion(IversionInfo)

This code gives the following values:

Iversioninfo.dwMajorVersion = 5

Iversioninfo.dwMinorVersion = 0

This is the CE Patform version CE5.0.  On a CE device how can I get the actual OS version and build for the OS built on top of this CE platform version?

TIA

Harry

Jul 26, 2011 at 8:35 PM
Hi, I'm not sure if this doesn't work with WM5, as I use it with WM6:

but Iversioninfo.dwBuildNumber should get you what you are looking for.



I test for .dwMajorVersion <5 (rule out WM2003)
if dwMinorVersion > 1 then I know it is WM6, otherwise it is WM5

HTH
David

On Mon, Jul 25, 2011 at 7:06 AM, LightStamp <notifications@codeplex.com> wrote:

From: LightStamp

Using the OSVERSIONINFO like this:

Private mRAPI as new RAPI

Dim Iversioninfo as OSVERSIONINFO

mRAPI.Connect()

mRAPI.GetDeviceVersion(IversionInfo)

This code gives the following values:

Iversioninfo.dwMajorVersion = 5

Iversioninfo.dwMinorVersion = 0

This is the CE Patform version CE5.0. On a CE device how can I get the actual OS version and build for the OS built on top of this CE platform version?

TIA

Harry

Read the full discussion online.

To add a post to this discussion, reply to this email (rapi@discussions.codeplex.com)

To start a new discussion for this project, email rapi@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Jul 27, 2011 at 4:37 PM

Nope in CE5 the Iversioninfo.dwBuildNumber = 0 and is of no help.

 

Thanks