Re: DLL with gfortran open statement crashes Excel

2025-02-25 Thread Jerry D
On 2/25/25 11:41 AM, Jürgen Bausa wrote: In the meantime I found out what is causing the problem. There seems to be a bug in the connection from gfortran to UCRT (Microsofts universal C runtime, that ships with Windows 10 and 11). If I switch to a compiler that uses MSVCRT (Microsoft Visual C run

Re: DLL with gfortran open statement crashes Excel

2025-02-25 Thread Jürgen Bausa
In the meantime I found out what is causing the problem. There seems to be a bug in the connection from gfortran to UCRT (Microsofts universal C runtime, that ships with Windows 10 and 11). If I switch to a compiler that uses MSVCRT (Microsoft Visual C runtime, an older library, but still availabl

DLL with gfortran open statement crashes Excel

2025-02-18 Thread Jürgen Bausa
I am trying to compile some C and fortran code inserted into a dll to be called by Excel. However, on each successful Fortran open statment Excel crashes without any message. Everything else works perfectly so I am sure the Excel/DLL interface works in principle. I also found out, that the crash