[comp.windows.ms] Win 3.0 Front end for fortran

stdtm@uokmax.ecn.uoknor.edu (Timothy A. Melton) (07/20/90)

I am trying to get a large (235K) fortran program running under DOS with
Windows as a user interface.  I have written most of the input routine in
Actor, and now its time to get down to business.  Rather than re-write all
of the code in Actor now, I'd like to get it running with the code I have,
or something that has been slightly modified.  Here are some ideas I've
been pondering:

	1) re-write the fortran subroutines as stand-alone programs, then
	   convert to C (with f2c if it runs under DOS) and compile the
	   C routines as Actor primitives.  This, of course, assumes that I
	   can get f2c or another translator running under DOS at all!

	2) compile fortran to *.obj, and use to create Actor primitives.  I
	   don't know enough about the MS languages internals to know if
	   this would work.

	3) get the Actor interface to run the fortran program under DOS.
	   This would be nice, but I've no idea how to implement it.

The fortran code is mostly just number crunching stuff, but there is a lot
of it!  I realize that the best solution would be to re-write the code, but
I need something running yesterday.  I plan to go back and re-write
portions of the code when time allows.  What can I do?  Any help will be
most appreciated!

Thanks in advance,

Tim Melton

-- 

//////////////////////////////////////////////////////////////////////////////
Timothy A Melton                             University of Oklahoma
Graduate Student                        Deptartment of Chemical Engineering