Hello,
does anyone have a clue what I/O error -100059 on Windows XP might
mean? (In the API documentation there is written that the error code
is system dependent.) It always occurs while I try to open a new GDX
file for writing (regardless of whether I use OpenWrite(…) or
OpenWriteEx(…) metod). Unfortunately, I was not able to get any
useful info from Mr Google…
Thanks for any help.
Best regards,
nvx
–~–~---------~–~----~------------~-------~–~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~–~—
\
Hi nvx,
You can get the error message text by calling the function gdxErrorStr
For this message it returns ‘File is already open’.
–Paul
On Jun 24, 11:57 am, nvx wrote:
Hello,
does anyone have a clue what I/O error -100059 on Windows XP might
mean? (In the API documentation there is written that the error code
is system dependent.) It always occurs while I try to open a new GDX
file for writing (regardless of whether I use OpenWrite(…) or
OpenWriteEx(…) metod). Unfortunately, I was not able to get any
useful info from Mr Google…
Thanks for any help.
Best regards,
nvx
–~–~---------~–~----~------------~-------~–~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~–~—
\
Dear Paul,
thank you for the quick response and for the hint regarding the method
gdxErrorStr. There is, however, one thing I still do not understand.
My (simplified) Java code looks like this:
gdxjava gdxIO = new gdxjava();
int errNr = new int[1];
// …
gdxIO.OpenWrite(“results.gdx”, “DFPPProc”, errNr);
if (errNr[0] != 0) {
throw new Exception(“An error has occured during preparation of
the target GDX file (” + errNr[0] + “).”);
}
// …
The error occurs regardless of the existence of the file
“results.gdx.” How can it already be open if it doesn’t exist before I
invoke OpenWrite(…)?
Any ideas?
Best regards,
nvx
On 24 Ävn, 18:26, Paul van der Eijk wrote:
Hi nvx,
You can get the error message text by calling the function gdxErrorStr
For this message it returns ‘File is already open’.
–Paul
On Jun 24, 11:57 am, nvx wrote:
Hello,
does anyone have a clue what I/O error -100059 on Windows XP might
mean? (In the API documentation there is written that the error code
is system dependent.) It always occurs while I try to open a new GDX
file for writing (regardless of whether I use OpenWrite(…) or
OpenWriteEx(…) metod). Unfortunately, I was not able to get any
useful info from Mr Google…
Thanks for any help.
Best regards,
nvx
–~–~---------~–~----~------------~-------~–~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~–~—
\
Problem solved!
I forgot to invoke gdxIO.Close() after reading data from another file.
Thanks for the assistance.
Best regards,
nvx
On 24 Ävn, 20:20, nvx wrote:
Dear Paul,
thank you for the quick response and for the hint regarding the method
gdxErrorStr. There is, however, one thing I still do not understand.
My (simplified) Java code looks like this:
gdxjava gdxIO = new gdxjava();
int errNr = new int[1];
// …
gdxIO.OpenWrite(“results.gdx”, “DFPPProc”, errNr);
if (errNr[0] != 0) {
throw new Exception(“An error has occured during preparation of
the target GDX file (” + errNr[0] + “).”);
}
// …
The error occurs regardless of the existence of the file
“results.gdx.” How can it already be open if it doesn’t exist before I
invoke OpenWrite(…)?
Any ideas?
Best regards,
nvx
On 24 Ävn, 18:26, Paul van der Eijk wrote:
Hi nvx,
You can get the error message text by calling the function gdxErrorStr
For this message it returns ‘File is already open’.
–Paul
On Jun 24, 11:57 am, nvx wrote:
Hello,
does anyone have a clue what I/O error -100059 on Windows XP might
mean? (In the API documentation there is written that the error code
is system dependent.) It always occurs while I try to open a new GDX
file for writing (regardless of whether I use OpenWrite(…) or
OpenWriteEx(…) metod). Unfortunately, I was not able to get any
useful info from Mr Google…
Thanks for any help.
Best regards,
nvx
–~–~---------~–~----~------------~-------~–~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~–~—
\