ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous Windows functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the runtime mode of Windows.
Reminder WINDEV allows you to create 32-bit and 64-bit executables.
Example
// Connaître la version de Windows : 32 bits ou 64 bits

Version is int
Version = WindowsVersion()
SWITCH Version 
	CASE 32 : Info("Windows s'exécute en 32 bits")
	CASE 64 : Info("Windows s'exécute en 64 bits")
END
Syntax
<Result> = WindowsVersion()
<Result>: Character string
Returns the runtime mode of program in the current environment:
  • "32": the program runs in 32-bit mode in a 32-bit environment.
  • "64": the program runs in 32-bit mode or in 64-bit mode in a 64-bit environment.
Business / UI classification: Business Logic
Component: wd300std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help