Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: using oracle client in C++ with Visual Studio 2005

Re: using oracle client in C++ with Visual Studio 2005

From: laurent <laurentoget_at_gmail.com>
Date: Tue, 26 Jun 2007 16:07:29 -0000
Message-ID: <1182874049.584631.9990@c77g2000hse.googlegroups.com>


On Jun 26, 11:42 am, sybrandb <sybra..._at_gmail.com> wrote:
> On Jun 26, 5:33 pm, laurent <laurento..._at_gmail.com> wrote:
>
> > We are trying to include a module to access an oracle database from
> > our application which is written in C++ and built on windows with
> > visual studio 2005. The client we have found, OCI.dll is linked with
> > the runtime library built with the previous version of visual studio,
> > which in typical microsoft fashion, leads to random crashes when
> > closing connections. I have a hard time believing we are the only ones
> > trying to do this. Has anybody encountered and solved this issue?
>
> > Laurent
>
> I don't think the client ever existed of OCI.dll *alone*.
> If you only have OCI.dll, you are just doomed.
> You need to get a proper client. In 10g and higher, this can be an
> instant one.
>
> --
> Sybrand Bakker
> Senior Oracle DBA

i have a complete client. i actually tried a few of them. Instant client and the one delivered with oracle XE both include a dll (OCI.dll) which depends on the wrong version of the miscrosoft runtime library, and cause random failures of my application, when an object allocated by the old runtime gets freed in the new runtime. My application builds and runs most of the time but random crashes are a show stopper.

Laurent Received on Tue Jun 26 2007 - 11:07:29 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US