Run Fortran DLL with Visual Studio

后端 未结 3 725
孤城傲影
孤城傲影 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:12

    You can use the Post-Build Event in the dll Property Pages:

    • Click right on DLL-project in Solution Explorer
    • goto Build Events - post-Build Events
    • Command Line copy/y "$(OutDir)\$(ProjectName).dll" "$(SolutionDir)\bin\debug\" The DLL will be copied each time you build the DLL or Solution. The target location might be different.

提交回复
热议问题