Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Newbie question on ProC++
Hello,
Here is a question on ProC/C++. Hope somebody can help.
I have a header file which contains some constants.
I need to put these constants between the declare section because I need
to
use these constants in the declare section of another file test.C.
In DbConstant.H :
EXEC SQL BEGIN DECLARE SECTION;
const int MSG_LEN = 10; .....
EXEC SQL INCLUDE DbConstant.H
EXEC SQL BEGIN DECLARE SECTION;
char Buffer[MSG_LEN]; <-------------------- declared in DbConstant.HEXEC SQL END DECLARE SECTION; This works fine. I just have to precompile DbConstant.H. Now, I have another file test2.H that wants to use the constant MSG_LEN in DbConstant.H.
Thank-you in advance. Received on Fri Aug 28 1998 - 00:39:43 CDT
![]() |
![]() |