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 / String functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Retrieves a character string in a format external to PC Soft (character string that is the result of a Windows API for example).
Example
// La DLL "MaDLL32.dll" renvoie une adresse sur laquelle est stockée une chaîne ASCIIZ
LoadDLL("MaDLL32.dll")
nAdrChaîneASCIIZ is int = AppelDLL32("MaDLL32.dll", "RenvoieAdresseChaîne")
sContenuChaîne is string = ChaîneRécupère(nAdrChaîneASCIIZ, srASCIIZAddress)
FreeDLL("MaDLL32.dll")
Info(sContenuChaîne)
Syntax
<Result> = StringRetrieve(<Parameter> , <Option>)
<Result>: Character string
Resulting string in PC Soft format.
<Parameter>: System integer
Address of the character string to retrieve.
<Option>: Integer constant
Format of the string to retrieve.
srASCIIZAddress<Parameter> must be an integer that contains the address of an ASCIIZ string.
srUnicodeAddress<Paramètre> must be an integer containing the address of a string in Unicode format.
Related Examples:
Strings with APIs Unit examples (WINDEV): Strings with APIs
[ + ] Using strings with APIs.
The following functions are used:
- StringRetrieve
- Transfer
Component: wd300vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help