C Exception Code C0000005, Basically I get an access violation error: Unhandled exception at 0x5edad442 (msvcr100d.