Originally posted by: tb
B,
When I debug your ORA by setting an invalid user, it catches an exception and exit the program . The output information is the following lines. How to avoid it ? Thanks.
Detected memory leaks!
Dumping objects ->
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) : {59} normal block at 0x00918468, 2128 bytes long.
Data: < _ERROR) ORA-> 98 84 91 00 5F 45 52 52 4F 52 29 20 4F 52 41 2D
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) : {49} normal block at 0x00921490, 792 bytes long.
Data: <September > 53 65 70 74 65 6D 62 65 72 00 CD CD CD CD CD CD
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) : {48} normal block at 0x009217E0, 448 bytes long.
Data: <Thu mbe Wed mbe > 54 68 75 00 6D 62 65 00 57 65 64 00 6D 62 65 00
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) : {47} normal block at 0x00916F08, 1328 bytes long.
Data: <%a %b %e %H:%M:%> 25 61 20 25 62 20 25 65 20 25 48 3A 25 4D 3A 25
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) : {46} normal block at 0x009219D0, 344 bytes long.
Data: <PM Wed M:% > 50 4D 00 CD CD CD CD CD 57 65 64 00 4D 3A 25 00
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) : {45} normal block at 0x00921B60, 320 bytes long.
Data: <C Sun > 43 00 CD CD CD CD CD CD 53 75 6E 00 CD CD CD CD
Object dump complete.
Originally posted by: tb
B,
Which one should I choose between OraLib and ADO ? Could you give me an advice?
Originally posted by: tb
I want to consult the documents about OCI, but where can I find it? Could you help me ?
Originally posted by: tb
cn.execute ("create table oralib_test ( n numeric, d date, s varchar2 (50) )");
// fast inserts
B,
Thank you for your help. But, I have another question.
I downloaded the source code of ORA and ORALIB. When I run it to connect to my oracle, the table is successly created. But there is no data in the table after the following codes is executed.
//----------------------------------------------begin
connection cn ("OraDB", "tb", "tb");
cn.execute ("create unique index oralib_test_ndx on oralib_test (n)");
statement &st1 = *cn.prepare (
"insert into oralib_test (n, d, s) values (:n, :d, :s)");
parameter &pn = st1.bind (":n");
parameter &pd = st1.bind (":d");
parameter &ps = st1.bind (":s");
long i, d = 1;
cout << "insertion...";
for (i=0; i<ITERS; i++)
{
pn = i;
pd = datetime ((ub1) d, jan, 2002);
if (++d > 31) d = 1;
ps = (Pstr)phrase;
st1.execute ();
}
//-----------------------------------------------end
What's wrong? What and how can I do ?
Originally posted by: jeff
Now I decide to use this wrapper in my application
development.I use MS Visual C++.But I don't know how
to set the environment in it. Could someone help me
with it?
ReplyOriginally posted by: jeff
I have a question here.
Can this wrapper deal with SDO_GEOMETRY object type in
oracle 9i?
If can ,then how to?
Thanks in advanced.
jeff
ReplyOriginally posted by: rabbit
If don't enter the sqlplus environment, how to
shutdown and startup a database instance?
Thanks.
ReplyOriginally posted by: yaping chen
how do I surport muti-connections by using your wrapper.(one connection with one mutithread)
ReplyOriginally posted by: Bala
I will be usefull to connect, retriving, insert/update data from Oracle.
Thanks
Bala..
Originally posted by: Andrew Stepanov
Always wanted to have some simple library to work with OCI.
Reply