Progress
External Program
Interfaces
Passing NULL Values
If you have to pass a NULL value to a shared library routine, do not pass a null MEMPTR variable. Instead, define the INPUT or INPUT-OUTPUT parameter as a LONG, and pass it 0 when you run the routine. If this conflicts with calling the shared library entry point another way, you can create a second declaration using the ORDINAL option of the PROCEDURE statement. (Note that this option is not available on UNIX.)
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |