Software Archive
Read-only legacy content
17061 Discussions

How do i call a Delphi .dll in Fortran

Intel_C_Intel
Employee
537 Views
Hi,
I've never really used fortran before, so am not reallly familiar with the language. For something to do at work i have to write a delphi dll and call it in fortran.
I've got a simple delphi dll that shows a message box when the procedure DllMessage is executed. There isn't a problem with the dll as i've successfully ran it in another Delphi app.

Can someone please give me a foolproof guide of what exactly i need to do to get this thing working in fortran as i really cant find help anywhere on the net. It all seems to be the other way around, fortran dll's in xxx language.

Thanks for any help :)
0 Kudos
1 Reply
Steven_L_Intel1
Employee
537 Views
There's a complete example of this on the Visual Fortran CD (6.5 and later) under INFODFSAMPLESMIXLANG The samples are optionally installed to your hard disk.

Steve
0 Kudos
Reply