Page 1 of 1

Problem with OracleDataTable

Posted: Sat 23 Jul 2005 21:00
by krzychu
My testing program sometimes throws exception like this:

A native exception occured
Exception Code: 0xc0000005
ExceptionAddress: 0x02aa08b3
Reading: 0x00000007

It happens durring set property Active of OracleDataTable to true.
So I write simple program http://saggit.hopto.org/test.zip
for testing. When i change property Active from false to true about 11 times program throws exception.

Posted: Mon 25 Jul 2005 12:27
by Paul
It is not OraDirect .Net Mobile problem. You can reproduce it if you execute the following code

Code: Select all

      DataTable dt = new DataTable();
      dt.Columns.Add("col1", typeof(DateTime));
      dataGrid1.DataSource = dt;
      for (int i = 0; i < 400; i++) {
        dt.Rows.Clear();
        dt.Rows.Add(new object[1] {DateTime.Now});
      }

Posted: Sat 30 Jul 2005 09:52
by krzychu
Strange situation. I tried the code above and it doesn't throw exception.
I executed program on Pocket PC 2003 Emulator and Pocket PC 2003.
I wrote another program http://saggit.hopto.org/test2.zip
and I would like you to test it.

Posted: Thu 11 Aug 2005 06:59
by Paul
We reproduced your problem and fixed it. This fix will be included in the
next OraDirect .NET build.