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

occi and windows

From: Michael Luchs <mmr-michael_at_arcor.de>
Date: Tue, 14 Jun 2005 16:21:37 +0200
Message-ID: <42aee7fc$0$1140$9b4e6d93@newsread4.arcor-online.net>


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 Received on Tue Jun 14 2005 - 09:21:37 CDT

Original text of this message

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