Is there a problem passing Fortran unit numbers to routines in a DLL?
Due to the nature of DLL’s, it is not possible to pass Fortran unit numbers from a Main Program to a subroutine contained in a DLL and this is made apparent when GINO users are upgrading from a non-DLL version to a DLL version. If programs contain calls to the routine DEVICE, this should be replaced with calls to gSetDeviceFilename which takes a filename instead of a file unit number and calls to gCGMInterpreter, gOpenCGMfile, gDebug, gGetDrawing, gGetPicture, gArchiveSegs, gRetrieveSegs and gSetErrorFile should be used in conjuction with the routine gFopen rather than an OPEN statement.