PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 "system handle" (HINSTANCE) of the current program. Then, this handle can be used in the system APIs that require this parameter.
Notes:
  • In 32-bit, if several instances of the same program are run, they can share the same instance value.
  • The system handle corresponds to the base address of the executable (internal parameter of the process, not depending on the application or on the computer).
Example
// Retrieve the instance of the program
hInstance is int = Instance()
Syntax
<Result> = Instance()
<Result>: Integer
System handle of the program.
Component : wd240vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment