Subject Re: [ib-support] gpre on Linux (C/C++)
Author Ann W. Harrison
At 10:03 AM 4/4/2001 +0200, Toni Pljakoski wrote:

>I started some testing with Interbase 6.0 SuperServer and wrote a small
>program in C. Unfortunately some error occurred:
>
>If I precompile my program with gpre then all preprocessor definitions are
>put into the body of the first function. If it is the main function then
>everything is OK. But if it is not then the definitions are viewable only in
>that function. Did you have some similar problems? Is there a solution to
>this problem?

I believe that your problem is with scoping which is controlled by additional
keywords on the SET DATABASE statement. Check the Programmer's Guide for
a section that explains STATIC and EXTERN.


Regards,

Ann
www.ibphoenix.com
We have answers.