Application Function Names
When writing application functions, choose function (or entry point) names that do not conflict with Progress and ESQL-LIB entry point names. If you are planning to run in the large client model, it is even more important because the entire Progress global name space is exposed to your application.
In most cases, if you have an entry point in your code with the same name as a Progress entry point, the linker identifies duplicate entry point symbols with an error message. However, sometimes the linker replaces one entry point with the other, and does not display a message.
To avoid global naming problems, name your functions using the following syntax:
function-name
Any valid C function name that meets the following requirements:
No Progress entry point name ends with “_USR”, so this suffix guarantees that your application has no conflicts with Progress global symbols. For example, you can include a function called
calc_USR()
without any conflict.NOTE: Building your application using the small client model reduces, but does not eliminate, the likelihood of name conflicts described in this section.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |