FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Memory could not be "read" error with ADO
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Memory could not be "read" error with ADO
Posted: Mon Jul 13, 2009 03:04 PM

I have a hybrid application which runs partialy on SQL Server, and partially on ADS. I am using a mix of standard DBF type calls as well as some ADO with ADS. Sql is all ADO. If I access an ADS database with ADO when I quit the application I get the following error.

The instruction at "0x0a3040f1" referenced memory at "0x0a337308". The memory could not be "read". Click on OK to terminate the program.

This appears to be happening only when I access the ADS databases with ADO Recordset object.

Anybody know how to stop this behavior.

Thank you,

Byron Hopp

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Memory could not be "read" error with ADO
Posted: Tue Jul 14, 2009 02:39 AM

I had a large hybrid application which worked on ADS, Oracle and Sql Sever, with hundreds of users, using ADO for Oracle and SqlServer and RDD for ADS ( both normal dbf way and also sql on ADS ). I never had this problem. I did not use ADS OleDb. I used ACE API calls for SQL work on ADS.

It may be an issue with specific version of xHarbour or ADS Oledb

Regards



G. N. Rao.

Hyderabad, India
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: Memory could not be "read" error with ADO
Posted: Tue Jul 14, 2009 02:46 AM

Could you please post an example of the ACE calls and I will implement.

Thank you,

Byron...

Thanks,

Byron Hopp

Matrix Computer Services

Continue the discussion