Subject | RE: [ib-support] RC1 Error - Responses |
---|---|
Author | Ann W. Harrison |
Post date | 2001-12-05T19:43:01Z |
At 09:34 AM 12/5/2001 -0800, Bill Morrison wrote:
program that just tries to open the database file. That would
get you the code. Here's the code gstat uses:
if ((open (file_name, O_RDONLY)) == -1)
FormatMessage (FORMAT_MESSAGE_FROM_SYSTEM,
NULL,
errno,
GetUserDefaultLangID(),
s,
sizeof (s),
NULL));
where s is a 128 byte character string, and filename
is the name of the database file.
Regards,
Ann
>1450 ERROR_NO_SYSTEM_RESOURCESBill, you should be able to reproduce the error from a tiny
>1451 ERROR_NONPAGED_SYSTEM_RESOURCES
>1452 ERROR_PAGED_SYSTEM_RESOURCES
>
>Unfortunately FB only returns the message and not the code.
program that just tries to open the database file. That would
get you the code. Here's the code gstat uses:
if ((open (file_name, O_RDONLY)) == -1)
FormatMessage (FORMAT_MESSAGE_FROM_SYSTEM,
NULL,
errno,
GetUserDefaultLangID(),
s,
sizeof (s),
NULL));
where s is a 128 byte character string, and filename
is the name of the database file.
Regards,
Ann