Anyone have any idea what is this error?
"CFile exception: generic, File frame.bmp, OS error information = 1816.
First-chance exception in abc.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++
Exception."
Got this on my debugger.
Thanks
>"CFile exception: generic, File frame.bmp, OS error information = 1816.
>First-chance exception in abc.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++
>Exception."
From WINERROR.H :
MessageId: ERROR_NOT_ENOUGH_QUOTA
//
// MessageText:
//
// Not enough quota is available to process this command.
//
#define ERROR_NOT_ENOUGH_QUOTA 1816L
Sounds like you're on a quota'd disk subsystem.
Hi Bob,
Any idea how to catch this error?
>Any idea how to catch this error?
I guess you're going to have to use try-catch, e.g.
CString csMsg;
try
{
// file operations
}
catch (CFileException * pcfex)
{
csMsg.Format ("file operation failed, code 0x%X\n",
pcfex->m_cause);
AfxMessageBox (csMsg);
}