Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Access Violation generated at close (Oracle, DAO, VB4)

Access Violation generated at close (Oracle, DAO, VB4)

From: Brent Langdon <blangdon_at_sequeltech.com>
Date: 1997/08/13
Message-ID: <01bca74f$995a7af0$3c586dcf@developer29>#1/1

I occasionally get an access violation message when closing my application (both at runtime and design time). Here is the message I just got while working in the VB IDE:

"Unhandled exception in VB32.EXE (SQLTNSNT.DLL); 0XC0000005; Access Violation"

I stepped into the debugger. The call stack starts in DAO3032.DLL then SQO32_73.DLL, 4 calls in ORA73.DLL and then ends in SQLTNSNT.DLL.

I have my code set up to open the database on the load of my main form and to close the database on the unload. The violation seems to happen after the unload of the main form, but before the terminate. The program is set up to use either a MS SQL database or Oracle database. I have not seen the problem with the MS SQL database (though there are spots where the code is a little different depending on the type of database).

I am basically sending this out to the world because I am a little stuck. This problem could be related to Oracle ODBC drivers, DAO, VB, or ODBC. If you have seen this problem or have any suggestions, please let me know.

I am using: VB4a, DAO 3.0, Oracle73 ODBC drivers 2.00.0301

Thanks,
Brent Langdon
blangdon_at_sequeltech.com | Sequel Technology Software Engineer | http://www.sequeltech.com Received on Wed Aug 13 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US