Memory exception with connection to Oracle

From: <vinod.katare_at_gmail.com>
Date: Wed, 14 Nov 2007 06:52:04 -0000
Message-ID: <1195023124.094373.290500_at_e9g2000prf.googlegroups.com>



Hi,

[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.

Thanks,
Vinod K

#include "occi.h"
#include<stdio.h>
#include<string.h>
#include<conio.h>

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

Original text of this message