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

Opening New Dialog Box

Status
Not open for further replies.

nyjil

Programmer
Jul 14, 2000
32
US
My program was working great until I messed around with the msconfig file inorder to improve my systems performance. Now all of a sudden I have:

First-chance exception in MyProgram.exe (KERNEL32.DLL): 0xC0000005: Access Violation.

Every time the program executes a DoModal() on a dialog box. Seems to only happen when a new box is being opened. Scary thing is, is doens't seem to be affecting my program in anyway as far as operation goes. It had no exceptions before messing around with my msconfig file. I have since put my msconfig file back to the original format, but I'm still having the exception show up everytime I run the program in the debugger. Any suggestions at all? I'd take anything at this point.

Thanks
 
For a very brief description of first-chance exceptions, please see


You may be able to see what is causing the violation by starting your program and then selecting "Exceptions" from the VC++ "Debug" menu. You can then find the "Access Violation" exception and change it to "Stop Always".

If the debugger shows you a bunch of assembly code in Kernel32.dll, you might be able to glean at least a bit of info from the call stack. For example, if I do the "Stop Always" thing in my company's primary program, I see the following info:
KERNEL32! bff76d96()
SWFLASH! 03498e89()
SWFLASH! 0349706d()
SWFLASH! 03497155()

That isn't enough info for me to fix anything, but it does tell me that the exceptions are coming from a Macromedia Shockwave Flash control used by my program, and thus I probably have no hope of getting rid of them.
 
Thanks

I finally found the problem. Believe it or not, it was my speakers. I changed a feature on them, and it messed everything up. Jeez, you wouldn't think a little think like that would make a big mess, and that's why I never thought to check on it. Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top