Page 1 of 1

Access Violation when calling TOraQuery methods

Posted: Wed 18 Jun 2008 17:48
by jjeffman
I've just installed ODAC 6.50.0.35 for C++Builder 6.0 Pro.
I have rebuilt my old application which was perfectlly running using ODAC 5.80 .
My Oracle client is the 11.1.0.1.0 .
When the application calls any method, not properties, it is throwing an "Access Violation" error, such as the TOraQuery or the method had not been defined.

New applications made with the 6.50 are working fine.

Is there any special task to upgrade applications from ODAC 5.80 to 6.50 ?

Thanks a lot.

Jayme.

Posted: Thu 19 Jun 2008 14:20
by Challenger
No, ODAC 6.50 and ODAC 5.80 should be compatible. Please try to create a small sample to reproduce this problem.

I have no ODAC 5.8 installed any more

Posted: Thu 19 Jun 2008 21:22
by jjeffman
Thank you very much for answering me.

I am very sorry. I have not ODAC v 5.80 installed any more.

I will ask someone who have v5.80 to create a small application using ODAC 5.80 and I will do the upgrade to version 6.50 to check the problem.
After I will post the result.

If the upgrade fails, is there a way to send the application files to be tried by the ODAC team ?

Problem solved

Posted: Wed 02 Jul 2008 23:07
by jjeffman
I do not know why the data type of one of the TOraQuery parameters was changed to "number" instead of "integer". When you call the Prepare method it raises an Access Violation Exception.

I have changed back the data type to integer and now the application is running properly .

Thanks to you all. :D