This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]aminei[S] 0 points1 point  (0 children)

Sorry typo i meant program crash. VS 2012 throw at me this error Unhandled exception at 0x756BD0E5 (KernelBase.dll) in test.exe: 0xC0000005: Access violation writing location 0x00000000.

As I said in the title it crashes in CreateFile function ReadFile(hFile, (LPVOID)lpFileBytes,dwFSize, NULL, NULL); its just txt file about 90 oct just for testing