PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • "Module Name" parameter
  • 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
SysInstance (Function)
In French: SysInstance
Returns the instance of a module.
Example
// Instance of current application
ResInstance = SysInstance()
Syntax
<Result> = SysInstance([<Module Name>])
<Result>: Integer
Instance of specified module.
<Module Name>: Optional character string (with quotes)
Corresponds to:
  • the name and full (or relative) path of the executable file (".EXE" extension) for the current application. A UNC path is allowed.
  • the name and full (or relative) path of a WINDEV library (".DLL" file) currently loaded in memory (LoadDLL). A UNC path is allowed.
If this parameter is not specified, the instance of the current application is returned.
Windows Mobile Name and full path of the executable file (".EXE" extension) for the current application.
Remarks

"Module Name" parameter

The <Module Name> parameter must not contain the name and path of an executable file different from the one of the current application.
To find out whether an executable is currently run, use ExeRunning.

Equivalence

ResInstance = SysInstance()
is equivalent to
ResInstance = Instance()
Components
WINDEVReports and Queries wd230std.dll
Windows Mobile wp230std.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment