The 2024 Wheel Reinvention Jam just concluded. See the results.

Application Error

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

Edited by Vee900 on Reason: Initial post
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 ?
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
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.


Edited by Nikita Smith on Reason: typo