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: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Tue, 14 Jun 2005 20:03:34 +0200
Message-ID: <pt6ua11r2uvov58jkvl1rjivkars4pk0p7@4ax.com>


On Tue, 14 Jun 2005 16:21:37 +0200, "Michael Luchs" <mmr-michael_at_arcor.de> 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
>

Common sense tells you are trying to compile with debug and you don't have the debug symbol files available.

--
Sybrand Bakker, Senior Oracle DBA
Received on Tue Jun 14 2005 - 13:03:34 CDT

Original text of this message

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