Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Any idea what is OS Error info 1816

54 views
Skip to first unread message

willgoh

unread,
Jun 18, 2003, 11:52:39 PM6/18/03
to
Hi,

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


Bob Moore

unread,
Jun 19, 2003, 7:21:59 AM6/19/03
to
On Thu, 19 Jun 2003 11:52:39 +0800, "willgoh" <willg...@yahoo.com>
wrote:

>"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.

willgoh

unread,
Jun 20, 2003, 4:35:09 AM6/20/03
to
Bob Moore <bo...@mvps.org> wrote in message news:<l573fvg50fvc3ifn7...@4ax.com>...

>
> 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?

Bob Moore

unread,
Jun 20, 2003, 8:41:52 AM6/20/03
to
On 20 Jun 2003 01:35:09 -0700, willg...@yahoo.com (willgoh) wrote:

>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);
}


0 new messages