Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memory Error with rdAsyncEnable rdoConnection

Status
Not open for further replies.

LRW

Programmer
Aug 29, 2002
4
CA
When I create an rdoConnection with the rdAsyncEnable option, I get a memory error when using the .Close and .OpenResultset methods (I haven't tried all the other methods.) The error reads:

The instruction at"0x100052fe" referenced memory at "0x00000020". The memory could not be "read".

I have verified that the database connection is successful. Also, I can set the .QueryTimeout property and view the .StillConnecting property, without getting an error.

I tried using both rdoEnvironments(0).OpenConnection and rdoConnection.EstablishConnection. Both result in the same error. If I take out the rdAsyncEnable option and leave everything else the same, everything works great.

If anyone can offer any insights, I would really appreciate it. Thanks for your time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top