Q: The error always occurs while I try to open a new GDX file for writing (regardless of whether I use OpenWrite(…) or OpenWriteEx(…) method).
You can get the error message text by calling the function gdxErrorStr
. For this message it returns 'File is already open
'.