Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OCCI with Visual C++

184896Feb 7 2002
I'm trying to develop an application in Visual C++, using the OCCI API. When I compile the code, I get a few errors from the include files that are part of the OCCI API. Here are a couple of example errors:

:\oracle\ora90\oci\include\occicontrol.h(1098) : error C2995: 'getVector' : template function has already been defined
d:\oracle\ora90\oci\include\occicommon.h(665) : see declaration of 'getVector'

d:\oracle\ora90\oci\include\occicontrol.h(1194) : error C2995: 'setVector' : template function has already been defined
d:\oracle\ora90\oci\include\occicommon.h(765) : see declaration of 'setVector'

I've heard that these files compile properly with the Borland compiler....

So, I feel that there is something missing, perhaps another file or dll, but am not certain as to what it is.

Has anyone encountered this problem? If so, how did you fix it?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 3 2002
Added on Feb 7 2002
5 comments
565 views