ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous Windows functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the runtime mode of Windows.
Reminder: WINDEV allows you to create 32-bit and 64-bit executables.
Example
// Find out the Windows version: 32 or 64-bit
 
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
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.
Business / UI classification: Business Logic
Component: wd290std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help