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?
Printable View
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?
does your vs.net have the error lookup tool? if it does i think you can use that
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::DoModal():
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?Quote:
First-chance exception at 0x77359f2b in Network.exe: 0xC0000005: Access violation writing location 0x00443dd4.
Sometimes such errors happen by deleting a pointer which should be valid further on.
Thank you anonytmouse.