Xref: utzoo comp.std.c:386 comp.lang.c:12659 comp.sys.mac.programmer:2449 comp.lang.pascal:1082 comp.unix.wizards:11171 Path: utzoo!attcan!uunet!husc6!rutgers!ucsd!nosc!cod!cynthia From: cynthia@cod.NOSC.MIL (Cynthia G. Anderson) Newsgroups: comp.std.c,comp.lang.c,comp.sys.mac.programmer,comp.lang.pascal,comp.unix.wizards Subject: Need Help: C driver for Pascal & Fortran Summary: C program ability to call other programs/procedures in other lang.s Keywords: C, Pascal, FORTRAN, Mac II and VAX Message-ID: <1216@cod.NOSC.MIL> Date: 16 Sep 88 21:42:27 GMT Reply-To: cynthia@cod.nosc.mil.UUCP (Cynthia G. Anderson) Distribution: na Organization: Naval Ocean Systems Center, San Diego Lines: 34 hello i need some help and hope someone out there can point me in the right direction, or to the right books/articles/etc. i'm writing a driver program in C. (why? cuz C's flexible) The program has to be able to call sub-programs that are in other languages, namely Pascal and Fortran; run these sub-units (actually they're simulation models) and pass the appropriate outputs to the next thing that needs those outputs as it's inputs. so, the first part of the problem is that i need to know HOW to write the interface such that i can have non-C sub-units. And two how to pass information so that it is "digestable" to the sub-unit needing it. the next part of the problem is that part of the whole program will reside on a Mac II and the other part (sub-unit:Fortran) will run and reside on a VAX and only pass data back to the Mac, when told to execute. so if any one, has ANY ideas on how to go about doing this or where i should look for more information on dealing with these kinds of problems--I WOULD BE EXTREMELY GRATEFUL GRATEFUL GRATEFUL!!! (hey, what can i say...it's a fun project, i just have some holes in my knowledge...) Thanks in Advance, please MAIL replies to cynthia@cod.nosc.mil i will summarize to the net if enuff interest is indicated. cynthia anderson Disclaimer: "In this case, my company agrees with me."