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

Fortran Dll and Delphi Interface...

vera_reis
Beginner
871 Views
Hi!!!

I have a program in Fortran and made an interface in Delphi.
I changed my exe fortran program in a Dll. And don't use Fortran Win application. A Delphi dialog call the Dll...
But the Dll takes a long time to finish and the main program don't answer. How I do to cancel Dll and to return of the main program in Delphi? The users need that option... I thought in putting a button CLOSE in the dialog that would kill Dll but with Delphi is without answer...
Is a problem that I should solve in the Delphi or in Fortran?

I Have a CVF Ed. 6.01A and Delphi 6.0

I search for this question in a Net, but is hard to find...

Apologize my "translator English"... ^_^


Thanks.



0 Kudos
2 Replies
Jugoslav_Dujic
Valued Contributor II
871 Views
Take a look at my ThreadDlg sample. It's pure Fortran but it illustrates the principle in a simple way.

Jugoslav
0 Kudos
vera_reis
Beginner
871 Views
Thank you very much Jugoslav! ^_^

I will study this code.

0 Kudos
Reply