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
Retrieves a character string in a format external to PC Soft (character string that is the result of a Windows API for example).
Example
// The "MyDLL32.dll" DLL returns an address where an ASCIIZ string is stored
LoadDLL("MyDLL32.dll")
nAddrASCIIZString is int = CallDLL32("MyDLL32.dll", "ReturnStringAddress")
sStringContent is string = StringRetrieve(nAddrASCIIZString, srASCIIZAddress)
FreeDLL("MyDLL32.dll")
Info(sStringContent)
Syntax
<Result> = StringRetrieve(<Configures> , <Option>)
<Result>: Character string
Result string in PC Soft format.
<Configures>: System integer
Address of the character string to retrieve.
<Option>: Constant
Format of the string to retrieve.
srASCIIZAddress<Parameter> must be an integer containing the adress of a string in ASCIIZ format.
srUNICODEAddress<Parameter> must be an integer containing the adress 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
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Linux wd230vm.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment