Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29403 Discussions

Problems about DLL and DLL import library in CVF and IVF

jackmwl
Beginner
702 Views
I have used a Fortran DLL building in CVF6.6 with the DLL import library included in a project. When I created this project(Fortran Console Application) without selecting the bottom dialog box which is "This project will be linking against one or more Fortran DLL Import libraries.", I got the error " forrtl: severe (29): file not found, unit 4, file F:\\fortran\\test_CVF\\fort.4 ". However, when I created the same project but selected the dialog box, the project ran well. I donot know what happened to the project.

Now I am trying to use the Fortran DLL building in IVF11.1 with the DLL import library. When I creat a project(Fortran Console Application) in IVF, which doesnot have the dialog box like that CVF has, I get the same error as that occured in the CVF project not selecting the dialog box. So what should i do to solve the problem in IVF?
Thanks a lot!

Best regards
Jack
0 Kudos
2 Replies
Steven_L_Intel1
Employee
702 Views
Right click on the executable project, select Properties > Fortran > Libraries. Set Runtime Library to "Multithreaded DLL".
0 Kudos
jackmwl
Beginner
702 Views
Thanks a lot, Steve!
It works well.

Best regards
Jack
0 Kudos
Reply