![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, When i am trying to execute the below code, getting the memory 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. I'm not familiar with how occi connects, but iSQLPlus runs against |
#3
| |||
| |||
|
|
Hi, When i am trying to execute the below code, getting the memory 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: cci;main() { Environment *env ; Connection *conn=env->createConnection("scott", "tiger",""); printf("Done"); getch(); } |
#4
| |||
| |||
|
|
Hi, When i am trying to execute the below code, getting the memory 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: cci;main() { Environment *env ; Connection *conn=env->createConnection("scott", "tiger",""); printf("Done"); getch(); } Your env is uninitialized so of course env->createConnection() will be |
![]() |
| Thread Tools | |
| Display Modes | |
| |