PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Equivalence
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 the runtime mode of Windows.
Reminder: WINDEV allows you to create 32-bit and 64-bit executables.
WEBDEV - Server code Returns the runtime mode of the WEBDEV application server.
Versions 15 and later
PHP This function is now available for the PHP sites.
New in version 15
PHP This function is now available for the PHP sites.
PHP This function is now available for the PHP sites.
Example
// Find out the Windows version: 32 bits or 64 bits

Version is int
Version = WindowsVersion()
SWITCH Version
CASE 32: Info("Windows is run in 32 bits")
CASE 64: Info("Windows is run in 64 bits")
END
// Find out whether the current application is run in 32 bits or in 64 bits

// The size of a system integer depends on the runtime mode (32/64 bits)
// The runtime mode can be found from this size

// From version 16, you have the ability to use In64BitMode.

SystemInt is system int
SystemInt = (Dimension(SystemInt)*8)
SWITCH SystemInt
CASE 32: Info("32-bit mode")
CASE 64: Info("64-bit mode")
OTHER CASE: Info("Mode " + SystemInt + " -bit mode")
END
Syntax
<Result> = WindowsVersion()
<Result>: Character string
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.
Remarks
Windows Mobile

Equivalence

The operating mode of WindowsVersion is equivalent to the operating mode of ceWindowsVersion.
The only difference is:
  • WindowsVersion returns the runtime mode of the program run on Pocket PC from a WINDEV Mobile application.
  • ceWindowsVersion returns the runtime mode of the program run on Pocket PC from a standard WINDEV application.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Windows Mobile wp230std.dll
Linux wd230std.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment