Quote:
HANDLE hFile = CreateFile((LPCWSTR)"C:\\Test\\Reader4.dmp",
That's not the correct way to pass a wide string to the function. Change to:
HANDLE hFile = CreateFile(L"C:\\Test\\Reader4.dmp",
(The
OS
interpreted the
ASCII
string as it was a
WIDE
one and you should be able to find a file named "㩃呜獥屴敒摡牥⸴浤p牅潲㩲", that is the dump :-D, in the project folder)