can not complie main program

when I compile as 10.7.1. Build a DLL: Fortran example, No main program appears, But there was no error, Nothing happened

Hi yaoshunyu,

By 10.7.1, I’m assuming you mean the example code at:

Yes, unfortunately, there’s a compiler problem with the “!DEC$ ATTRIBUTES DLLIMPORT” directive which is causing this example to fail silently. It’s a known problem that’s being tracked by TPR #26715 but I don’t have an estimate when it will be fixed.


thx for your answer