我想在C++代码中加载一个fortran,并在fortran中调用一个函数。以下是代码 PRINT *, 'I am a function '在创建foo.dll fotran之后,这是我编写的用于加载fortran的VisualStudio2012中的C++代码。并在fortran代码中调用函数SUB1
我已经用__declspec(dllexport) VLENCODER (...)用C语言创建了一个动态链接库;我想使用iso_c_binding特性从Fortran中调用它。我声明了以下接口: function create_vlencoder_c(appKey) bind(C, name="create_vlencoder") typ
我正在尝试从C#调用Fortran代码。我正在使用VisualStudio2019和(iFort)。我创建了一个fortran项目,它使用以下代码编译而不存在任何问题(项目设置为'release','x64'): implicit none
containsof type 'System.DllNotFoundException' occurred in C