Date: Tue, 4 Mar 2008 00:29:21 -0800 (PST)
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