My program compiles and runs fine, but when I look at the output window afterwards, it says there was an access violation at so and so address reading so and so location. How can I track down this problem?
My program compiles and runs fine, but when I look at the output window afterwards, it says there was an access violation at so and so address reading so and so location. How can I track down this problem?
[email protected]
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials
does your vs.net have the error lookup tool? if it does i think you can use that
Woop?
Nah, that's different. I already know that the error is a write access violation.
Anyway, I tracked the error down eventually to the following line in CPropertySheet:oModal():
Code:HWND hWnd = (HWND)::PropertySheet(&m_psh);I can't seem to step into the function, and I have no idea what the problem could be. Any ideas?First-chance exception at 0x77359f2b in Network.exe: 0xC0000005: Access violation writing location 0x00443dd4.
Last edited by bennyandthejets; 07-11-2004 at 05:15 AM.
[email protected]
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials
Sometimes such errors happen by deleting a pointer which should be valid further on.
Thank you anonytmouse.
[email protected]
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials