In Debug modal, I compiled my project and run it and cannot see any problem. However, when closed it I got:
Unhadled exception in myProject.exe: 0xC000005: Access violation.
Then, I tried to compile the same project in Release modal. This time I got the same error message during run time.
How to debug my project?