: : Hi,
: :
: : I am getting the following error 0xC0000005: Access Violation., is there is a reason why I am getting, my code compiles correctly but at run time, is it something to do with memory?
: :
: : Alan
: :
: Yes, it is a memory access violation. Try stepping through your code to see where the error occurs. Does it happen on some use of a pointer? Maybe you haven't initialized that pointer correctly.
:
Run it in debugger and it will automatically point out which variable causing this.