Progress
External Program
Interfaces
Passing Error Codes Back To Progress
You can use HLC library functions to pass a specific error code from your C function to Progress and test it for a specific value. To do this, define a shared variable within your Progress procedure to hold the error code value. Within your C function, set the shared variable with an HLC library function before returning to Progress. In the code fragment above, the shared variable
errcode
holds the error code value.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |