Question about Microsoft Windows Vista Home Premium with Service Pack 1: Windows
While trying to "delete all documents" from printer queue, got that error message.
Applications that are reading file allocation table (FAT) based storage devices at
the time of a resume may receive the following error message from the file system:
This occurs although the file has appropriate sharing and access
Examples of storage media that frequently use the FAT file system on Pocket PC 2002 are the PCMCIA PC Card ATA, the Compact Flash (CF) Storage Card, and the Secure Digital (SD) Memory Card.
This behavior is observed when using Pocket PC 2002 Adaptation Kit Update 4 (AKU4) and later.
Applications can handle this situation by detecting the specific error code while reading a storage card file, and then retrying for a short period until the device is ready. The following is an example C code fragment that demonstrates this concept: while ( !WriteFile( hFile, achBuffer, dwBytesRequested, &dwBytesReturned, 0 ) &&
( ERROR_ACCESS_DENIED == GetLastError() ) )
// Access Denied: Maybe the file system is not ready yet.
if ( tries > 4 )
// It has been a few seconds. The file cannot be accessed.
You can use the same approach for other programming languages. For applications that access the storage card through middleware libraries that do not provide direct access to the file system, you may have to implement transactional or block verification methods to get reliable data transfer across a suspend resume.
Posted on Mar 15, 2009
Tips for a great answer:
Oct 20, 2016 | Operating Systems
Apr 23, 2012 | Microsoft Windows Vista Home Premium with...
Mar 12, 2011 | Operating Systems
Mar 05, 2011 | Operating Systems
Mar 01, 2011 | Microsoft Windows Vista Ultimate Edition
Aug 22, 2010 | Operating Systems
Mar 22, 2010 | Microsoft Windows Vista Home Basic Edition...
Nov 09, 2009 | Microsoft Windows Vista Home Basic Edition...
Aug 28, 2009 | Microsoft Windows XP Media Center Edition...
Mar 11, 2009 | Microsoft Windows Vista Home Premium with...
2,057 people viewed this question
Usually answered in minutes!