| Title: | Microsoft Visual Basic | 
| Moderator: | TAMARA::DFEDOR::fedor | 
| Created: | Thu May 02 1991 | 
| Last Modified: | Thu Jun 05 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 2565 | 
| Total number of notes: | 10453 | 
    Friday I had a hard drive crash on my PC.  Today I installed a new
    hard drive and had to start installing software from scratch.
    
    I installed VB 4.0 Enterprise Edition 16 bit version.
    
    I downloaded Oracle's ODBC for RDB and installed the 16 bit driver
    on my system.
    
    I restored VB 4.0 (Standard Edition) 16 bit source code I had
    developed.
    
    I ran the application.  It worked about two times.  Since then the VB
    app keeps aborting with a GP Fault in module DA02516.DLL everytime I
    run the app.
    
    This was a working application until now. 
    
    I run the app.  It displays a signon form.  User enters a VMS username
    and password, click OK.  As soon as VB tries to RegisterDatabase I get
    the error.  If I comment out the RegisterDatabase I still get the
    error when I try to open the database.
    
    Seems like the problem is related to the ODBC driver.
    
    More specifically;
    
    VB caused a general protection fault
    in module DAO2516.DLL at 002d:00000044.
    Registers:
    EAX=83480010 CS=55ff EIP=00000044 EFLGS=00000202
    EBX=83480010 SS=43b7 ESP=0000cfbe EBP=0000cfc6
    ECX=12b70000 DS=555f ESI=0000001c FS=3d17
    EDX=0000321f ES=570f EDI=00004ed6 GS=0000
    Bytes at CS:EIP:
    8e 46 fe 26 39 7f 04 74 e0 26 8b 07 26 8b 57 02 
    Stack dump:
    2e3606c0 320f4c44 00e4d094 001c56ff 927d06c0 e074bff7 e000827f cb60827f
    8028c107 c0b0bff7 00008159 927d0000 e000bff7 0000827f 00000000 96660000 
    
    I am currently at a loss.  Any ideas are welcome!  Thanks, Mark
    
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 2524.1 | fixed. | CRUISE::CLEMENT | Smells like Nirvana | Tue Mar 25 1997 16:10 | 3 | 
|     I removed and reinstalled VB and it now seems to be working ok.
    
    Thanks, Mark
 | |||||