Progress
External Program
Interfaces
Using Structure Parameters
Many shared library routines require a pointer to a structure rather then a scalar value. Progress provides the MEMPTR DEFINE VARIABLE statement. Once initialized, you can use the MEMPTR variable with a set of 4GL statements and functions to build, read, and modify the contents of any C-compatible structure used by your shared library routines. You can also use the MEMPTR variable to safely pass CHARACTER values to shared library routines that modify them. For basic information on the MEMPTR data type and how to use it, see Introduction." This section provides information on using MEMPTR variables as parameters to shared library routines.
NOTE: You cannot use the Progress RAW data type to build structures that you pass to shared library routines.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |