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

Call Com Class Dll's (Visual Studios managed languages) from FORTRAN

norm_c
Beginner
881 Views

First I would like to thank Steve again for his help. His sample Visual Studio 2005 solution ConsoleCallsDll in which a FORTRAN dll is called by a FORTRAN console application was great. I looked at many other sample applications, also very helpful indeed.

There is another sample that I would like to see.

With Intel Visual Fortran integrating into Visual Studio 2005 it is now very important to consider the calling of Com Class Dlls created in Visual Studios managed languages from FORTRAN applications.

Attached is a sample application that calls a Com Class Dlls created in Visual Studios managed language from VB6 which is an unmanaged code. I received some excellent assistance from Microsoft through a support incident to develop this sample. My clients see this language interoperability as crucial to the development of some engineering code to simulate complex thermal management systems.

Please take a look at the sample and let me know how I might call the sample Com Class Dll from FORTRAN.

Thanks,

Norm

0 Kudos
6 Replies
Steven_L_Intel1
Employee
881 Views
Read up on the "Fortran Module Wizard" feature in the Intel Fortran documentation. This provides the ability to call COM and .NET applications from Fortran.
0 Kudos
norm_c
Beginner
881 Views

Steve,

I am reading the documentaion. There is no Tools>Intel Fortran Module Wizard.

Is it part of the trial software? If so where do I find It?

Thanks,

Norm

0 Kudos
Steven_L_Intel1
Employee
881 Views
Yes, it is part of the trial, but you won't see this until you have a Fortran project open.
0 Kudos
norm_c
Beginner
881 Views

Steve,

I have a Fortran project open and still don't see the Wizard form the Visual Studio IDE.

However, I can open it from the ModWiz exe in the ...Common7ToolsBin folder.

How do I get it to in the IDE? Should I reinstall?

Thanks,

Norm

0 Kudos
norm_c
Beginner
881 Views

Steve,

I just addedthe Wizardas an External Tool.

Thanks,

Norm

0 Kudos
Steven_L_Intel1
Employee
881 Views
Curious - you should not have to do that. Can you create a Fortran project (with the blue and white F icon)?
0 Kudos
Reply