Steve,
Declare the function, and all other API declarations you are going to use, once in your main process as early as possible in the application. Then they are available when you want them.
In most of my applications, I use the same set, so I have placed the declarations in a table and declare the functions by scanning the table. That way I can add and/or delete functions very easily without having to recompile my apps.
Jim E.
>The only thing I am concerned with is that I am declaring the integer every time this is called, and am not sure if I am eating resources when I do this.... George? Ed?
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.