kid@hpctdkg.HP.COM (Kevin Dietz) (09/12/90)
I'm posting this for someone whose outgoing news is broken. He in turn is posting it for a friend. So if you can follow this through three levels of indirection, here goes. Follow directions below for replying to this note. Don't send mail to me (kid@hpctdkg.hp.com). ----------------------------------------------------------------------------- A friend of mine without NET or e-mail access has a problem with MS-Windows & FORTRAN. --- I have existing scientific programs written in FORTRAN and wish to access these programs/subroutines from within a Microsoft Windows 3.0 application. How can I incorporate my FORTRAN (which is far too many lines of tested code to rewrite) into a Windows application ? Do I (can I ?) produce dynamic link libraries (DLLs) with a Microsoft FORTRAN compiler ? I have Actor 3.0, which is a MS-Windows development toolkit, which can call DLLs (or I could write the main part of my Windows appilcation in C). I need to get numbers back from my FORTRAN into my C code or 'Actor' code in order to display them via Windows. Has anyone successfully accessed FORTRAN code from within a Windows application ? What problems will I face, eg is re-entrancy a problem when using FORTRAN ? Will I need to rewrite my FORTRAN I/O to disk ? Will I have to use fixed size DLLs ? I am particularly keen to hear from anyone who has used FORTRAN & MS-Windows together. Hugh Robinson SCIENTIFIC SOFTWARE-INTERCOMP (UK) LTD. Monarch House Crabtree Office Village Eversley Way EGHAM Surrey TW20 8RY UK Phone (+44) 784 430030 FAX (+44) 784 431889 ---- Alternatively, you can e-mail responses back to me & I can forward them. NB Do not post as I don't read these groups. Thanks in advance for any responses, Martyn Shortley ----------------------------------------+------------------------------------- Software Engineer | JANET martyn@uk.ac.bris.cs.mi Philips Medical Systems - Radiotherapy | ARPANET martyn@mi.cs.bris.ac.uk B125, Radiotherapy Centre +---------+ Horfield Road | BRISTOL, UK BS2 8ED | BITNET martyn%uk.ac.bris.cs.mi@ukacrl.bitnet (+44) [0] 272 - 283211 | UUCP ... !mcvax!ukc!csisles!shortley ------------------------------+-----------------------------------------------