Hi,
Everytime i try to debug my program i keep getting
Instruction at 0x0000000000000000 referenced memory at
0x0000000000000000.The memory could not be written.
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 ?
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
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.