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: occi and windows

Re: occi and windows

From: Shankar <sh22iyer_at_yahoo.co.in>
Date: 15 Jun 2005 01:26:29 -0700
Message-ID: <1118823989.172422.6810@g44g2000cwa.googlegroups.com>

Michael Luchs wrote:
> Hi,
>
> I am trying to write a small occi windows applications. I am using VS Studio
> .Net 7 (Windows XP).
>
> I can compile and link my small application:
>
> int _tmain(int argc, _TCHAR* argv[])
> {
> Environment *env = Environment::createEnvironment(Environment::DEFAULT);
> try {
> Connection *con =
> env->createConnection("TESTUSER","TESTUSER","SERVERIP:1521/DBNAME");
> env->terminateConnection(con);
> } catch ( ... ) {
> }
> Environment::terminateEnvironment(env);
> return 0;
> }
>
> When I try to run the app I got the error message:
>
> 'C:\oracle\ora92\bin\ORAXML9.DLL', Cannot find or open a required DBG file.
> C:\WINDOWS\system32\msvcirt.dll', No symbols loaded.
> Loaded 'C:\oracle\ora92\bin\ORAXSD9.DLL', Cannot find or open a required DBG
> file.
> Loaded 'C:\WINDOWS\system32\msvcp60.dll', No symbols loaded.
> First-chance exception at 0x6087e01e in oracleoccitest.exe: 0xC0000005:
> Access violation reading location 0x4843494d.
> The program '[3792] oracleoccitest.exe: Native' has exited with code 0
> (0x0).
>
> The line Connection *con = env->createConnection(...) throws the exception.
>
> Does anyone whats wrong with my app?
>
> Michael

Michael,

   Ensure that you are linking and running against the VC++ 7.0 versions of the OCCI lib/DLL. These are installed under %ORACLE_HOME%/oci/lib/msvc/vc7

Regards Received on Wed Jun 15 2005 - 03:26:29 CDT

Original text of this message

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