- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compile the Delphi code into a dll that you call from fortran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how can i call a delphi dll?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Perhaps if you give an example of the data you want to pass then someone may be kind enough to give more immediate assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thankx Andrew
Do you know if, rather than DLL, is it possible to use a .lib linked at compile time?
Do you know if, rather than DLL, is it possible to use a .lib linked at compile time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page