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

Is it possible to access Delphi forms from Intel Fortran?

jim_cox
Beginner
1,188 Views
As part of our code base, we have some programs written in Delphi

One program in particular has a large number of forms (dialogs) and procedures

Rather than having to redraw the dialogs and rewrite the code them, we would like to be able to call these dialogs from inside programs written with the Intel Fortran compiler

Is this possible?

And, if so, how best to achieve it?

advTHANKXance

Jim



0 Kudos
6 Replies
Andrew_Smith
Valued Contributor I
1,188 Views
Compile the Delphi code into a dll that you call from fortran
0 Kudos
schnitzel
Beginner
1,188 Views
how can i call a delphi dll?
0 Kudos
Andrew_Smith
Valued Contributor I
1,188 Views
This is a very big subject. You can start by reading the section on Mixed Language programming in your Intel Fortran documentation.

Perhaps if you give an example of the data you want to pass then someone may be kind enough to give more immediate assistance.
0 Kudos
jim_cox
Beginner
1,188 Views
Thankx Andrew

Do you know if, rather than DLL, is it possible to use a .lib linked at compile time?
0 Kudos
Andrew_Smith
Valued Contributor I
1,188 Views

I am not 100% sure but Ithink it is not possible to use a .lib because the object code from the two compilers would not be compatible. I am correct Intel?

0 Kudos
Steven_L_Intel1
Employee
1,188 Views
Can Delphi even create a .lib? If Delphi can, and it is link-compatible with Microsoft C++, it should be link-compatible with Intel Fortran. I thought Delphi was more like VB, where you can create an EXE or a DLL, but not linkable object code.
0 Kudos
Reply