IWICImagingFactory::CreateDecoderFromFilename() сохраняет файл заблокированным даже после уничтожения декодера. ⇐ C++
-
Anonymous
IWICImagingFactory::CreateDecoderFromFilename() сохраняет файл заблокированным даже после уничтожения декодера.
I'm using IWICImagingFactory::CreateDecoderFromFilename() for reading only. Is there a way I can pass something like the FILE_SHARE_READ flag? The file stays open from the function call above until the program terminates.
During another operation within the same program, I attempted to use CFile::Open(), but I got error 32 ("The process cannot access the file because it is being used by another process").
Источник: https://stackoverflow.com/questions/431 ... even-after
I'm using IWICImagingFactory::CreateDecoderFromFilename() for reading only. Is there a way I can pass something like the FILE_SHARE_READ flag? The file stays open from the function call above until the program terminates.
During another operation within the same program, I attempted to use CFile::Open(), but I got error 32 ("The process cannot access the file because it is being used by another process").
Источник: https://stackoverflow.com/questions/431 ... even-after
Мобильная версия