Subject | RE: [ib-support] RC1 Error - Responses |
---|---|
Author | Ann W. Harrison |
Post date | 2001-12-05T23:32:12Z |
Bill -
Try this:
if ((desc = CreateFile (file_name,
GENERIC_READ,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_RANDOM_ACCESS,
0)) == INVALID_HANDLE_VALUE)
{
/* add error handling */
GetLastError();
}
Gstat -h does not invoke the engine at all.
Regards,
Ann
Try this:
if ((desc = CreateFile (file_name,
GENERIC_READ,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_RANDOM_ACCESS,
0)) == INVALID_HANDLE_VALUE)
{
/* add error handling */
GetLastError();
}
Gstat -h does not invoke the engine at all.
Regards,
Ann