TheMillionDollarMan
Programmer
Hi,
If I change the settings on one of the implementation files in my project
From:
Use precompiled header file
To:
Not Using precompiled header file
My error when trying to compile changes
From:
d:\projects\vc\oci\test2\cdemo6.cpp(316) : fatal error C1010: unexpected end of file while looking for precompiled header directive
To:
d:\projects\vc\oci\test2\cdemo6.h(77) : error C2065: 'oparse' : undeclared identifier
d:\projects\vc\oci\test2\cdemo6.h(82) : error C2065: 'obndrn' : undeclared identifier
d:\projects\vc\oci\test2\cdemo6.h(88) : error C2065: 'odefin' : undeclared identifier
d:\projects\vc\oci\test2\cdemo6.h(92) : error C2065: 'odescr' : undeclared identifier
d:\projects\vc\oci\test2\cdemo6.h(95) : error C2065: 'oexec' : undeclared identifier
d:\projects\vc\oci\test2\cdemo6.h(97) : error C2065: 'ofetch' : undeclared identifier
d:\projects\vc\oci\test2\cdemo6.h(42) : error C2011: 'connection' : 'class' type redefinition
d:\projects\vc\oci\test2\cdemo6.h(69) : error C2011: 'cursor' : 'class' type redefinition
d:\projects\vc\oci\test2\cdemo6.h(113) : error C2011: 'CORADB' : 'class' type redefinition
What kind of Header directive do I need in order to build this exe?
This is an example taken from the Oracle Call Interface examples (in C) and adapted to VC++.
Thanks
If I change the settings on one of the implementation files in my project
From:
Use precompiled header file
To:
Not Using precompiled header file
My error when trying to compile changes
From:
d:\projects\vc\oci\test2\cdemo6.cpp(316) : fatal error C1010: unexpected end of file while looking for precompiled header directive
To:
d:\projects\vc\oci\test2\cdemo6.h(77) : error C2065: 'oparse' : undeclared identifier
d:\projects\vc\oci\test2\cdemo6.h(82) : error C2065: 'obndrn' : undeclared identifier
d:\projects\vc\oci\test2\cdemo6.h(88) : error C2065: 'odefin' : undeclared identifier
d:\projects\vc\oci\test2\cdemo6.h(92) : error C2065: 'odescr' : undeclared identifier
d:\projects\vc\oci\test2\cdemo6.h(95) : error C2065: 'oexec' : undeclared identifier
d:\projects\vc\oci\test2\cdemo6.h(97) : error C2065: 'ofetch' : undeclared identifier
d:\projects\vc\oci\test2\cdemo6.h(42) : error C2011: 'connection' : 'class' type redefinition
d:\projects\vc\oci\test2\cdemo6.h(69) : error C2011: 'cursor' : 'class' type redefinition
d:\projects\vc\oci\test2\cdemo6.h(113) : error C2011: 'CORADB' : 'class' type redefinition
What kind of Header directive do I need in order to build this exe?
This is an example taken from the Oracle Call Interface examples (in C) and adapted to VC++.
Thanks