oradirect 3.2 on x64
oradirect 3.2 on x64
hi
can I use oradirect 3.2 with vs2005 (vc++8.0) on windows xp x64 ?
it tell me licence error.
thank u
can I use oradirect 3.2 with vs2005 (vc++8.0) on windows xp x64 ?
it tell me licence error.
thank u
vs2005,oracle10g,connection error
hi,
I install 3.5,
I try to connect with oracle 10g on windows xp 64 with vs2005 on one machine, souce code like this:
CoreLab::Oracle::OracleConnection ^oracleConnection1=gcnew CoreLab::Oracle::OracleConnection ();
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open ();
it tell me:
arithmetic operation ...overflow
why?
thank u
I install 3.5,
I try to connect with oracle 10g on windows xp 64 with vs2005 on one machine, souce code like this:
CoreLab::Oracle::OracleConnection ^oracleConnection1=gcnew CoreLab::Oracle::OracleConnection ();
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open ();
it tell me:
arithmetic operation ...overflow
why?
thank u
hi,
Direct Mode can do well.
but i want to use "loader",it have to use undirect mode ,how to to ?
I use oracle 10g (10.2.0.1) client ,windows xp 64,vs2005 vc++8 on my machine, souce code like this:
CoreLab::Oracle::OracleConnection ^oracleConnection1=gcnew CoreLab::Oracle::OracleConnection ();
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open ();
when i do ,it tell me:
An unhandled exception of type 'System.OverflowException' occurred in mscorlib.dll
Additional information: Arithmetic operation resulted in an overflow.
thank u
Direct Mode can do well.
but i want to use "loader",it have to use undirect mode ,how to to ?
I use oracle 10g (10.2.0.1) client ,windows xp 64,vs2005 vc++8 on my machine, souce code like this:
CoreLab::Oracle::OracleConnection ^oracleConnection1=gcnew CoreLab::Oracle::OracleConnection ();
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open ();
when i do ,it tell me:
An unhandled exception of type 'System.OverflowException' occurred in mscorlib.dll
Additional information: Arithmetic operation resulted in an overflow.
thank u
exeception
hi,
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
this->oracleConnection1 = (gcnew CoreLab::Oracle::OracleConnection());
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open();
}//line 94
Additional information: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
call strack information:
CoreLab.Oracle.dll!CoreLab.Common.DbConnectionClosed.Open(CoreLab.Common.DbConnectionBase outerConnection = {CoreLab.Oracle.OracleConnection}) + 0xe0 bytes
CoreLab.Oracle.dll!CoreLab.Common.DbConnectionBase.Open() + 0x32 bytes
CoreLab.Oracle.dll!CoreLab.Oracle.OracleConnection.Open() + 0x19b bytes
>test.exe!test::Form1::button1_Click(System::Object^ sender = 0x0012ed0c, System::EventArgs^ e = 0x0012ed1c) Line 94 + 0xe bytes C++
System.Windows.Forms.dll!System.Windows.Forms.Control.OnClick(System.EventArgs e) + 0x57 bytes
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
this->oracleConnection1 = (gcnew CoreLab::Oracle::OracleConnection());
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open();
}//line 94
Additional information: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
call strack information:
CoreLab.Oracle.dll!CoreLab.Common.DbConnectionClosed.Open(CoreLab.Common.DbConnectionBase outerConnection = {CoreLab.Oracle.OracleConnection}) + 0xe0 bytes
CoreLab.Oracle.dll!CoreLab.Common.DbConnectionBase.Open() + 0x32 bytes
CoreLab.Oracle.dll!CoreLab.Oracle.OracleConnection.Open() + 0x19b bytes
>test.exe!test::Form1::button1_Click(System::Object^ sender = 0x0012ed0c, System::EventArgs^ e = 0x0012ed1c) Line 94 + 0xe bytes C++
System.Windows.Forms.dll!System.Windows.Forms.Control.OnClick(System.EventArgs e) + 0x57 bytes
exeception
hi,
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
this->oracleConnection1 = (gcnew CoreLab::Oracle::OracleConnection());
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open();
}//line 94
Additional information: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
call strack information:
CoreLab.Oracle.dll!CoreLab.Common.DbConnectionClosed.Open(CoreLab.Common.DbConnectionBase outerConnection = {CoreLab.Oracle.OracleConnection}) + 0xe0 bytes
CoreLab.Oracle.dll!CoreLab.Common.DbConnectionBase.Open() + 0x32 bytes
CoreLab.Oracle.dll!CoreLab.Oracle.OracleConnection.Open() + 0x19b bytes
>test.exe!test::Form1::button1_Click(System::Object^ sender = 0x0012ed0c, System::EventArgs^ e = 0x0012ed1c) Line 94 + 0xe bytes C++
System.Windows.Forms.dll!System.Windows.Forms.Control.OnClick(System.EventArgs e) + 0x57 bytes
this is all my app and call strack information.
i don't konw why?
thank u
tom
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
this->oracleConnection1 = (gcnew CoreLab::Oracle::OracleConnection());
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open();
}//line 94
Additional information: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
call strack information:
CoreLab.Oracle.dll!CoreLab.Common.DbConnectionClosed.Open(CoreLab.Common.DbConnectionBase outerConnection = {CoreLab.Oracle.OracleConnection}) + 0xe0 bytes
CoreLab.Oracle.dll!CoreLab.Common.DbConnectionBase.Open() + 0x32 bytes
CoreLab.Oracle.dll!CoreLab.Oracle.OracleConnection.Open() + 0x19b bytes
>test.exe!test::Form1::button1_Click(System::Object^ sender = 0x0012ed0c, System::EventArgs^ e = 0x0012ed1c) Line 94 + 0xe bytes C++
System.Windows.Forms.dll!System.Windows.Forms.Control.OnClick(System.EventArgs e) + 0x57 bytes
this is all my app and call strack information.
i don't konw why?
thank u
tom
new
hi Paul ,
All my information is:
when I use oradirect 3.5, my program is runing on 64bit mode(compiled with x64) in vs2005(vc++8.0) on windows xp64.
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
this->oracleConnection1 = (gcnew CoreLab::Oracle::OracleConnection());
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open();
}
Additional information: Arithmetic operation resulted in an overflow.
on 32bit mode(compiled with x32), it no problem.
why?
I think it is caused by windows xp64?
this is useful for u .
thank u very much!
tom
All my information is:
when I use oradirect 3.5, my program is runing on 64bit mode(compiled with x64) in vs2005(vc++8.0) on windows xp64.
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
this->oracleConnection1 = (gcnew CoreLab::Oracle::OracleConnection());
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open();
}
Additional information: Arithmetic operation resulted in an overflow.
on 32bit mode(compiled with x32), it no problem.
why?
I think it is caused by windows xp64?
this is useful for u .
thank u very much!
tom