Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!timbuk!sequoia!dre From: dre@sequoia.cray.com (Dennis Ellis) Newsgroups: comp.windows.ms.programmer Subject: Windows I/O problem Message-ID: <092008.19563@timbuk.cray.com> Date: 26 Apr 91 15:02:06 GMT References: <1991Apr26.133447.19724@ncsu.edu> Organization: Cray Research, Inc., Eagan, MN Lines: 24 Greetings all you Win3 programming gurus. I have an I/O problem which I hope someone can help me solve. I have the usual C main routine (actually the FILEOPEN program from the supplied 'samples') which calls a Fortran subroutine. The Fortran routine calls some user interface routines which have been included with the main C driver. This all works fine under Win3. UNTIL ... I attempt to open a file and do I/O in the Fortran routine. I get a UAE when I run the resulting EXE. I have tried various combinations of 'share' and 'mode' settings on the OPEN statement without much luck. If anyone has gotten this to work, or has some idea what might be wrong, or knows for a fact that it can't be done, I would like to hear from you. Thanks. -- ******************************************************************************* * Dennis Ellis (dre@sequoia.cray.com) * * * Cray Research, Inc. * * * Eagan, MN 55121 * All the normal stuff about opinions.. *