Debug failure before program running
-
When I debug my C# program in vs2005, I got the problem of first-chance exception:0xC0000005: Access Violation. The problem occured when vs loaded the dlls. If I run the exe outside the IDE, it's OK. I doubt that an anti-virus software I installed yesterday caused the problem. Before the antivirus installed, everything was OK. Can I config VS not load the anti-virus.dll? Please help.
-
When I debug my C# program in vs2005, I got the problem of first-chance exception:0xC0000005: Access Violation. The problem occured when vs loaded the dlls. If I run the exe outside the IDE, it's OK. I doubt that an anti-virus software I installed yesterday caused the problem. Before the antivirus installed, everything was OK. Can I config VS not load the anti-virus.dll? Please help.
Why not track down the crash, your application may already be running at that point even though DLL's are still being loaded. You can get Visual Studio to stop on an Access Violation exception, then you'll see the line of the crash. I think the option is under the "Debug | Exceptions" menu.
Jonathan Wilkes Darka[Xanya.net]