Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there a problem passing Fortran unit numbers to routines in a DLL?

0
Posted

Is there a problem passing Fortran unit numbers to routines in a DLL?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123