Re: Error 99/57 Error Received from DOS


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jim Guerber on July 23, 2004 at 06:39:36:

In Reply to: Error 99/57 Error Received from DOS posted by Herb Walters on July 20, 2004 at 08:49:07:

There are 3 parameters involved in an LSEEK. First is the file handle, second is the distance, and third is the orientation. If the handle were wrong, I think there would be a different error returned (invalid handle). I think the distance could be just about any value.

This leaves the orientation. This can take the values of 0, 1, or 2 only. I think this is the parameter that is wrong. There is nothing you can do to change this parameter, because it is up to the operating system (Comet) to supply this.

This was probably a bug in Comet 2002 that was subsequently fixed.

I notice that the file has a 64 byte key. Maybe this is the problem. Change the key size to 32 and see if the problem goes away.

Try the program with Comet 2004. Make sure you both compile the program with comet 2004 and run it. Does the problem persist? If so, send us the program and we will debug it.

This is a good reason to have a subscription to our software. When a problem arises, we can be assured that we at Signature and you are running the same code, and therefore can debug it.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]