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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access violation in Dr.watson

Status
Not open for further replies.

hoper

Technical User
Aug 17, 2003
3
US
Hi hi,

i have a vb program which compile in win 95 but running in win NT station, currently it facing Dr.watson access violation problem, the Dr.watson message is like below:

xx.exe
Exception: access violation(0xc0000005), address(0x1000c45c)

hope that i can get solution to overcome this problem here ...

Thanks a lot for help

best rdgs.
hoper
 
I think that the access violation (0xc0000005) is caused by an application doing something that the HAL does not like (this is the same thing I get when I try to access BIOS interupts in NT). This error would not happen on Win9X because there is no HAL.
Of course, this is not the only possible cause for this error . . . I think that the best spot to start is to try and determine the exact line that is causing the error. This can be done by inserting Msgbox into the code so that you can track how far in it gets before it crashes (writing to a text log file would also work). If you can find the exact line that is causing this error, post it in here and we'll see if we can help you. - Jeff Marler B-)
 
Can this something to do with the differ version of dll ?
coz my friend facing the violation problem before and he overcome with recompile the program in NT.

Anyway, i will try ur msgbox method(coz i don't know how to write to text log file, u know on this method?)

Thanks 4 the opinion, i will try & let u know ....

rdgs
hoper
 
I've seen this message appear when you've installed a system DLL with your software. What I mean by system DLL is one that belongs to the operating system (not MDAC or VB). Some of the OS DLL's have different versions for Windows 9x and NT. So if you install the 9x version onto NT, you can get this. In some cases you can make the system unbootable.

Look at what files you're installing.

Chip H.
 
hi after recompile the program & update the dll file, looks like the problem never occur again, somehow, it hits another error !

now i facing automation error in my vb6 program which running on Win NT4.0 platform, it hits error message :
Run-time error '-2147417848'(80010108)
Automation error
The object invoked has disconnect from its client

i have try to recompile my program in NT environment & re-install and update some related dll, eg. msvbvm60.dll ...
anyhow, the automation error still occurred, can anybody pls help on this !
very appreciate for the help. THANKS!

rdgs.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top