SET-POINTER-VALUE ( memptr-var ) = memptr-valueThe 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:
![]()
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.
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |