Access Violation when calling TOraQuery methods

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jjeffman
Posts: 84
Joined: Tue 09 Nov 2004 12:22
Location: Porto Alegre-Rio Grande do Sul - Brazil

Access Violation when calling TOraQuery methods

Post by jjeffman » Wed 18 Jun 2008 17:48

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.

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Thu 19 Jun 2008 14:20

No, ODAC 6.50 and ODAC 5.80 should be compatible. Please try to create a small sample to reproduce this problem.

jjeffman
Posts: 84
Joined: Tue 09 Nov 2004 12:22
Location: Porto Alegre-Rio Grande do Sul - Brazil

I have no ODAC 5.8 installed any more

Post by jjeffman » Thu 19 Jun 2008 21:22

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 ?

jjeffman
Posts: 84
Joined: Tue 09 Nov 2004 12:22
Location: Porto Alegre-Rio Grande do Sul - Brazil

Problem solved

Post by jjeffman » Wed 02 Jul 2008 23:07

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

Post Reply