PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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 into a 4-byte integer
Note: The system integer is coded on 4 or 8 bytes according to the compilation mode of the project (32 or 64 bits).
Example
HandleNum is system int

GetModuleHandle is API Description
GetModuleHandle..DLLName = "kernel32"
GetModuleHandle..FunctionName = "GetModuleHandleA"
GetModuleHandle..ReturnType = apiSystemInt
GetModuleHandle..Parameter[1]..Type = apiString

// Retrieves the handle of a window via an API
HandleNum = API(GetModuleHandle, "MyWindow")

Num is int
Num = SystemIntegerToInteger(HandleNum)
Syntax
<Result> = SystemIntegerToInteger(<Value>)
<Result>: Integer
Integer coded on 4 octets regardless of the compilation mode.
<Value>: System integer
System integer to convert.
Reminder:
  • A system integer is coded on 4 bytes in 32-bit compilation mode.
  • A system integer is coded 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 into integer. In this case, an exception must be processed.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230mat.dll
Windows Mobile wp230mat.dll
Linux wd230mat.so
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment