PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Operating mode in GO mode and at run time
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns information about the Windows version used on the current computer.
WEBDEV - Server code Returns information about the Windows version used on the server.
AndroidAndroid Widget JavaPHP Returns the version of the system.
Versions 15 and later
Android This function is now available for the Android applications.
New in version 15
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
AndroidAndroid Widget To get information about the Android version, use SysAndroidVersion.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
AndroidAndroid Widget To get information about the Android version, use SysAndroidVersion.
iPhone/iPad This function is now available for the iPhone/iPad applications.
AndroidAndroid Widget To get information about the Android version, use SysAndroidVersion.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android Widget This function is now available in Android Widget mode.
Example
WINDEVWEBDEV - Server codeReports and QueriesWindows MobileAjaxUser code (UMC)
// Number of the Windows version used on the current computer
ResVersion = SysWindowsVersion(sysVersionNumber)
Syntax
<Result> = SysWindowsVersion([<Type of Information>])
<Result>: Character string
  • Information about the Windows version,
  • Empty string ("") if an error occurred.
<Type of Information>: Optional constant
Indicates the requested information:
Parameter not specifiedVersion of Windows:
  • "10" for Windows 10
  • "8" for Windows 8
  • "7" for Windows 7
  • "VISTA"
  • "LINUX"
  • "CE 3", "CE 4", "CE 5", "CE 6"
  • "2012S" for Windows 2012 Server
  • "2008S" for Windows 2008 Server
  • "2003S" for Windows 2003 Server
  • Versions 22 and later
    "2016S" for Windows 2016 Server
    New in version 22
    "2016S" for Windows 2016 Server
    "2016S" for Windows 2016 Server
  • "XP" for Windows XP
  • "ME" for Windows Millenium
  • "NT 4", "NT 5" (for Windows 2000 for example)
  • "NT 3.5"
  • "98"
  • "95"
  • "32s" for Windows 3.1
Empty string if the Windows version is unknown.
AndroidAndroid Widget Android version:
  • android 1.5
  • android 1.6
  • android 2.3
  • ...
Versions 17 and later
iPhone/iPad System version: DARWIN
New in version 17
iPhone/iPad System version: DARWIN
iPhone/iPad System version: DARWIN
PHP Corresponds to the platform name, without version (the result depends on the PHP version). For example:
  • "NT" for all versions of Windows NT,
  • "Linux", ...
PHP Corresponds to the version number of Windows or to the platform name (for Linux). The result depends on the PHP version.
Versions 15 and later
sysProcessor
New in version 15
sysProcessor
sysProcessor
Returns the runtime mode of program in the current environment:
  • "32": the program operates in 32-bit mode in a 32-bit environment.
  • "64": the program operates in 32-bit or 64-bit mode in a 64-bit environment.
AndroidAndroid Widget iPhone/iPadJavaPHP This constant is not available.
sysVersionBuildWindows compilation number.
For example: "1381".
LinuxAndroidAndroid Widget iPhone/iPadJavaPHP This constant is not available.
sysVersionInfoSpecific information about the Windows version. For example:
  • "Service Pack x" for NT
  • "" for Windows 95A (empty string)
  • "B" for Windows 95B
  • " " for Windows 98 (a space).
  • "Pro" for Windows XP Pro
  • "Home Edition" for Windows XP Home Edition.
In the current versions of Windows CE, no information is returned.
LinuxAndroidAndroid Widget iPhone/iPadJavaPHP This constant is not available.
sysVersionNumberVersion Number of Windows.
For example: "3.51" for NT 3.51, "3.0" for Windows CE 3.0.
LinuxAndroidAndroid Widget iPhone/iPadJavaPHP This constant is not available.
sysVersionPlatformSystem platform:
  • "Win32s" for WIN32 in 3.11
  • "Windows" for Windows 95/98/ME
  • "NT" for Windows NT 4.0/2000/XP/2003 Server
  • "PocketPC" for CE 2002, for CE 2003, for CE 5, for CE 6
  • "Smartphone" for CE for Smartphone
  • "UNIX" for Linux.
AndroidAndroid Widget iPhone/iPadJavaPHP This constant is not available.
AndroidAndroid Widget JavaPHP This parameter is not available.
Remarks
Windows Mobile

Operating mode in GO mode and at run time

In GO mode (simulation on the development computer), the window must be found on the development computer.
At run time, the window must be found on the Pocket PC.
The differences between GO mode (simulator) and real use are presented in Differences between GO mode and real use.
Related Examples:
WD Magnifier Complete examples (WINDEV): WD Magnifier
[ + ] This example enables you to zoom part of the screen with a magnifier.
The maximum zoom value is set to 8.
Summary of the example supplied with WINDEV:
The WLanguge function named dCopyBlt() and the WLanguage property named ..Opacity allow you to perform a capture of the Windows desktop at the location of a window without this window appearing in the screen shot.
This example uses this tip to zoom the part of the screen found below the magnifier.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Windows Mobile wp230std.dll
Java wd230java.jar
Linux wd230std.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment