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

Mixed language programming with CPP, FORTRAN and MFC

barbaraonli
Beginner
663 Views

Can mixed language programming be done with the Intel Fortran compiler and the Microsoft C/C++ compiler (Visual Studio 2005, version 8).

Thecode we will beintegratingis a combination of C++, C and Fortran anduses MFC calls from the C++ classes(forputting up dialogs anddoing graphics), can MFC be used with the Intel C++ compiler?

0 Kudos
1 Reply
Steven_L_Intel1
Employee
663 Views
Yes, you can do mixed language programming with Intel Fortran and Microsoft (or Intel) C++. As far as I know, you can use MFC from Intel C++ - you should ask in our C++ forum for more details.

To do mixed-language programming requires that you construct a Visual Studio solution with two projects, one for the Fortran code and one for the C++ code. One project should be the executable and the other a static library that is a dependent of the executable. Please be sure you have SP1 for VS2005.

Intel Visual Fortran includes a couple of example mixed-language applications.
0 Kudos
Reply