Register
CDbg»Forums»Application Error
10 posts
Application Error
1 year, 11 months ago Edited by Vee900 on Oct. 2, 2018, 10:01 p.m. Reason: Initial post
Hi,
Everytime i try to debug my program i keep getting
Instruction at 0x0000000000000000 referenced memory at
0x0000000000000000.The memory could not be written.

Help please

Thanks
Simon Anciaux
881 posts
Application Error
1 year, 11 months ago
Have you tried debugging in Visual Studio to see if the problem comes from CDBG or your program ?
What flags do you use to compile you program ?
Could you provide us the sources of you program so we can try to reproduce the problem ?
10 posts
Application Error
1 year, 11 months ago
Hi,

Sorry for the late reply.I've been following casey's handmade hero and the only switch using cl is -Zi.Debugging in VS throws no error at all.
Hope that helps
Thanks
Nick Slivca
45 posts / 1 project

None

Application Error
1 year, 11 months ago Edited by Nick Slivca on Oct. 6, 2018, 2:21 a.m. Reason: typo
Vee900
Hi,

Sorry for the late reply.I've been following casey's handmade hero and the only switch using cl is -Zi.Debugging in VS throws no error at all.
Hope that helps
Thanks


I am sorry to hear that CDBG fails you.

Can you tell me your version of cl.exe that you use?

And try to recompile project with a -Z7 switch instead, maybe that will help.


None