"Ivan Leo Puoti" ivanleo@gmail.com wrote:
- HANDLE FileHandle;
- This->FileHandle = CreateFileW(pszFileName, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL);
- if(This->FileHandle == INVALID_HANLDE_VALUE)
return E_FAIL;
I guess that you need to close that file handle somewhere.