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

How to use intel fortran module wizard to let fortran project share the Interface compile in C++/C#

makinoyui
Beginner
673 Views

I want to control a runing fortran EXE through UI constructed by C#.I plan to define a Interface which will take charge of the communication of the runing fortran EXE and modifed parameter in UI.In this way,I wish I could pause to check then going runing the exe or redefine parameter and restart the exe , so everytime I run the EXE,I do not need to change the code,I just do some operation in the UI.

Now,I have compiled a Interface in C#,and I've try to use fortran module wizard to import it in fortran project.But it is really hard to a fortran newbie to understand the transformed code,I need some information about this fuction of inter fortran. Thanks A Lot!

0 Kudos
2 Replies
Steven_L_Intel1
Employee
673 Views
The Module Wizard is not recommend for a "Fortran newbie" - or even someone experienced in Fortran but not in COM. What is easier is to have the Fortran code be a DLL that is called from C# - that might make more sense for what you are trying to do.
0 Kudos
makinoyui
Beginner
673 Views

Thank you for your answering!
But I am in a dilemma.It is a assignment for my study.
If I insist to do it in COM way ,Please tell me where I can get more information about this.

0 Kudos
Reply