Page 1 of 1

how to identify the version of windows mobile?

Posted: Wed Jan 14, 2009 8:23 am
by Ugo
Hi all,

how to identify the version of windows mobile?

Thanks for your response

Best regards,
Ugo

Re: how to identify the version of windows mobile?

Posted: Thu Jan 15, 2009 10:24 am
by Antonio Linares
Ugo,

Here you have a working example:

Code: Select all | Expand

// Check Windows Mobile version

#include "FWCE.ch"

function Main()

   local aVersion := GetVersion()

   MsgInfo( "Major version: " + Str( aVersion[ 1 ] ) + CRLF + ;
            "Minor version: " + Str( aVersion[ 2 ] ) + CRLF + ;
            "Build number: "  + Str( aVersion[ 3 ] ) + CRLF + ;
            "Platform Id: "   + Str( aVersion[ 4 ] ) )

return nil

Re: how to identify the version of windows mobile?

Posted: Thu Jan 15, 2009 1:10 pm
by Ugo
Antonio,
thank you.