Progress
External Program
Interfaces


Naming C Functions

You must name all external functions (entry points) so that your function names do not conflict with Progress entry point names.

On many systems, if you have an entry point in your code with the same name as a Progress entry point, the linker detects duplicate entry point symbols and displays an error message. However, on some systems the linker replaces one entry point with the other, and does not display a message.

No Progress entry point ends with _USR. Therefore, use this syntax to guarantee that your function names do not conflict with Progress entry point names:

SYNTAX
function-name_USR ( ... ) 

The function-name is any name compatible with your development environment. For example, you might have a function called calc_USR().


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095