Urgent (Pro*C++)

From: <vihangtole_at_gmail.com>
Date: Tue, 4 Mar 2008 00:29:21 -0800 (PST)
Message-ID: <b06a5d0c-3722-4271-b098-bda0fbe4f0e0@e10g2000prf.googlegroups.com>

I am unable to compile my Pro*C++ program when i declare any host variables/structures in header files. It seems that Pro*C++ only accepts declaration placed inside the block EXEC SQL BEGIN DECLARE SECTION;
EXEC SQL END DECLARE SECTION; But EXEC SQL statement are not allowed inside header files. Therefore i am forced to include host structure / variable definitions in the main program.

But i want to access these structure across different programs. I am forced to include these definitions in each program as i cant include them inside header file.

Pro*C allows you to declare host structure / variables anywhere (header files / program).
But i think Pro*C++ has above mentioned restriction.

Is there any way out???
Please help me. Received on Tue Mar 04 2008 - 02:29:21 CST

Original text of this message