SET-POINTER-VALUE statement
Sets a variable of type MEMPTR to the value of a particular memory location.
Note: Does not apply to SpeedScript programming.Syntax
memptr-var
memptr-value
ExampleThe following example calls a DLL routine that returns a pointer to a structure, extracts an address at byte 5 of the structure, uses SET-POINTER-VALUE to assign the address to an ABL MEMPTR, and displays the character string at the address:
Notes
- SET-POINTER-VALUE is particularly useful when accessing Windows Dynamic Link Library (DLLs) or UNIX shared library routines from ABL. For more information on DLLs, see the chapter on DLLs in OpenEdge Development: Programming Interfaces.
- For more information on the MEMPTR data type, see OpenEdge Development: Programming Interfaces.
See also
OpenEdge Release 10.2B
|