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

Programming Window with Intel Fortran 7.0

tol1
Beginner
662 Views
Hello,

Is codes presented in Dr. Norman Lawrence's book "Compaq Visual Fortran" compatible with Intel Fortran 7.0?

Regards,
Long
0 Kudos
5 Replies
Steven_L_Intel1
Employee
662 Views
Many of them will be, some won't. I don't know of anyone who has gone through all to see. I think that those involving dialogs will require some extra effort, because there's no automatic generation of Fortran INCLUDEs from the VS.NET resource compiler.

Steve
0 Kudos
tol1
Beginner
662 Views
Thanks, Steve!
I am new to Intel Fortran and unfamiliar with CVF. I've background in window C/C++ programming; I need some reference on using Fortran syntax in programming window. I am considering in purchasing IF 7 for use with Window development in near future. What do you mean "there's no automatic generation of Fortran INCLUDEs from the VS.NET resource compiler"?

Regards,
Long
0 Kudos
Steven_L_Intel1
Employee
662 Views
The usual way of setting up a dialog box (what fields are there, where they are, etc.) is by using the "resource editor" in the IDE. With CVF, when you have "resources" in your project and do a build, a Fortran INCLUDE file defining the control IDs is automatically generated, so all you have to do is INCLUDE it. Not so, at present, with Intel Fortran. You'll have to read the C-syntax .h file and translate it "by hand" to Fortran.

This isn't that big a deal for most applications, as they typically use only a handful of dialog controls.

One big difference right now, though, is that Intel Fortran does not have anything like CVF's DFLOGM module for "Fortran-friendly" dialog box manipulation. You'll have to do all the message handling yourself. Not really difficult, but probably challenging for someone who hasn't seen it before.

If you run into problems, feel free to post here, and folks will try to help you out.

Steve
0 Kudos
tol1
Beginner
662 Views
Thanks again!

BTW, I've ordered the IF 7 CD. Do I need to un-install the evaluation copy first?

Regards,
Long
0 Kudos
Steven_L_Intel1
Employee
662 Views
No, you shouldn't need to uninstall.

Steve
0 Kudos
Reply