PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
SystemIntegerToInteger (Function)
In french: EntierSystèmeVersEntier
Converts a system integer to a 4-byte integer.
Remark: The system integer is encoded on 4 or 8 bytes according to the compilation mode of the project (32 or 64-bit).
Example
HandleNum is system int
 
GetModuleHandle is API Description
GetModuleHandle.DLLName = "kernel32"
GetModuleHandle.FunctionName = "GetModuleHandleA"
GetModuleHandle.ReturnType = apiSystemInt
GetModuleHandle.Parameter[1].Type = apiString
 
// Gets the window handle via an API
HandleNum = API(GetModuleHandle, "MyWindow")
 
Num is int
Num = SystemIntegerToInteger(HandleNum)
Syntax
<Result> = SystemIntegerToInteger(<Value>)
<Result>: Integer
Integer encoded on 4 bytes regardless of the compilation mode.
<Value>: System integer
System integer to convert.
Reminder:
  • A system integer is encoded on 4 bytes in 32-bit compilation mode.
  • A system integer is encoded on 8 bytes in 64-bit compilation mode.
Remarks
A fatal error will occur if the value of the system integer is too big to be converted to integer. In this case, an exception must be processed.
Component : wd260mat.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment