CDbg » Forums » Application Error
Vee900
8 posts
#16477 Application Error
2 months, 1 week 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
mrmixer
Simon Anciaux
488 posts
#16483 Application Error
2 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 ?
Vee900
8 posts
#16485 Application Error
2 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
TastyMuffin
Nick Slivca
44 posts / 1 project

None

#16488 Application Error
2 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