Run Fortran DLL with Visual Studio

后端 未结 3 733
孤城傲影
孤城傲影 2020-12-10 23:45

I develop a website with Visual Studio 2010. I want to run a Fortran DLL. I used Intel Visual Fortran to create a .dll and to test how to use it. My code is:



        
3条回答
  •  甜味超标
    2020-12-11 00:11

    You could simply create a Console project in IVF and link in your DLL. That may require producing a .lib file containing references to your DLL. I'm not 100% sure how to do that, although perhaps it was automatically created for you.

    After the library is linked in, you can simply call simpson and it should work.

提交回复
热议问题