Board index » delphi » FORTRAN code in DELPHI?
nxn...@psu.edu (Aldeenor Tristan)
![]() Delphi Developer |
Sat, 16 May 1998 03:00:00 GMT
|
nxn...@psu.edu (Aldeenor Tristan)
![]() Delphi Developer |
Sat, 16 May 1998 03:00:00 GMT
FORTRAN code in DELPHI?
Is this possible? If YES, how? Where can I get the info of how to do it?
Thank you very much. I am desperate to know this....please help Aldeenor- |
Greg Strau
![]() Delphi Developer |
Sat, 16 May 1998 03:00:00 GMT
Re:FORTRAN code in DELPHI?nxn...@psu.edu (Aldeenor Tristan) spake unto us: Quote>Is this possible? If YES, how? Where can I get the info of how to do it? FORTRAN functionality is available in Pascal; what exactly are you looking for?? -Greg -------------------------------------- "...You can see the World from here!" |
Catherine Rees-La
![]() Delphi Developer |
Sat, 16 May 1998 03:00:00 GMT
Re:FORTRAN code in DELPHI?QuoteIn article <nxn101.73.30BA8...@psu.edu> nxn...@psu.edu "Aldeenor Tristan" writes: and call it from a Delphi executable. Your MSF manual will tell you how to make the DLL, and I use the syntax in the CALLDLL demo example to call it (this is simpler, though less dynamic, than LoadLibrary etc.). Catherine. Polyhedron Software Ltd. ************ Visit our Web site on http://www.polyhedron.co.uk/ ************ |
David Brabant [SN
![]() Delphi Developer |
Sat, 16 May 1998 03:00:00 GMT
Re:FORTRAN code in DELPHI?Quote>Is this possible? If YES, how? Where can I get the info of how to do it? can generate DLLs, so theoretically, it should be possible to call Fortran generated code from a Delphi application. See http://www.lahey.com and http://www.microsoft.com for more information. David -- |
Catherine Rees-La
![]() Delphi Developer |
Sun, 17 May 1998 03:00:00 GMT
Re:FORTRAN code in DELPHI?QuoteIn article <nxn101.75.30BBE...@psu.edu> nxn...@psu.edu "Aldeenor Tristan" writes: into a DLL rather than an executable. (I've had problems with function return values, but none with subroutine arguments). Say subroutine sum(xxx,yyy,bbb) Export this subroutine from your DLL. The MSF 5.1 Advanced Topics chapter on Now you can import it exactly as you would a procedure in a DLL written in Now set up your nice Delphi window with 3 boxes, let the user type values in Hope this helps, Catherine. Polyhedron Software Ltd. ************ Visit our Web site on http://www.polyhedron.co.uk/ ************ |
Aldeenor Trist
![]() Delphi Developer |
Sun, 17 May 1998 03:00:00 GMT
Re:FORTRAN code in DELPHI?QuoteGreg wrote: Ok..let say that if I have a FORTRAN code. A simple one like shown below implicit real*8 (a-h,o-z) I want to create a nice GUI (using Delphi) to input the xxx and yyy, and So how am I going to incorporate this simple program into Delphi. If I compiled I hope this is enuff for what I am looking for. I hope somebody can provide Note: I am still learning Delphi so please don't use big words in the Thanks you... Aldeenor- Quote> -Greg |
Kimmo Lahtin
![]() Delphi Developer |
Mon, 18 May 1998 03:00:00 GMT
Re:FORTRAN code in DELPHI?In article <817556992...@polyhdrn.demon.co.uk>, Cather...@polyhdrn.demon.co.uk says... Quote
so that I compiled the Fortran code as a separate program. This was because the only way I got it to multitask (with Windows 3.1 and 95) was to make it Quick-Windows program and the parameters was transferred by files anyway. The Fortran program runs quite a log time so yielding was very important. I start the program without a window (window-parameter 0), so no-one I would like to add a possibility to kill that Fortran program, but Kimmo |
1. Compiled Fortran .obj code linked with Delphi 2 ?
2. FORTRAN CODE TO PASCAL - this time I got it right - c-means.for (1/1)
3. FORTRAN CODE TO PASCAL - this time I got it right - c-means.for (0/1)
6. Delphi: Interest in a FORTRAN converter?
7. How to connect Delphi DLL to Fortran PROGRAM
8. Callback function Fortran-Delphi