In the device emulator, CFile::SetLength() throws an exception when used on files in the Storage Card shared folder. Is this a bug or is that behavior to be expected
In the device emulator, CFile::SetLength() throws an exception when used on files in the Storage Card shared folder. Is this a bug or is that behavior to be expected
CFile::SetLength() exception in Storage Card folder
Geeee
enric vives
"This should be fixed with next release of WindowsCE/WindowsMobile and DeviceEmulator."
Has this happened yet I'm also getting it on FlushFileBuffers(handle).
Xargo
Hmm this is the 2.0 beta. I guess I'll just ignore this exception if the previous write (of the same length) was successful.
Thanks.
pgems
Yes there is a know issue with Folder-sharing driver passing size equal/smaller than the current file size to SetEndOfFile/CFile::SetLength fails with ERROR_NOT_SUPPORTED. This should be fixed with next release of WindowsCE/WindowsMobile and DeviceEmulator.
-Thanks,
Mohit
mabxsi
Bapa