Memory exception with connection to Oracle

From: <>
Date: Wed, 14 Nov 2007 06:52:04 -0000
Message-ID: <>


[Quoted] [Quoted] When i am trying to execute the below code, getting the memory [Quoted] exception " Unable to read memory". Can anybody suggest me of what can be the problem?
Also the exception is only if a add a createconnection statement. For connection to oracle from iSQLPLus i am using the same usr/pass without hoststring and its working there.

Vinod K

#include "occi.h"

using namespace oracle::occi;
  Environment *env ;
  Connection *conn=env->createConnection("scott", "tiger","");     printf("Done");
} Received on Wed Nov 14 2007 - 07:52:04 CET

Original text of this message