Xref: utzoo comp.windows.ms.programmer:858 comp.os.msdos.programmer:3263 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!fauern!opal!tmpmbx!netmbx!oeschi From: oeschi@netmbx.UUCP (Johann Deutinger) Newsgroups: comp.windows.ms.programmer,comp.os.msdos.programmer Subject: Windows closes my TSR file handles !? Message-ID: <1848@netmbx.UUCP> Date: 9 Feb 91 23:35:43 GMT Reply-To: oeschi@netmbx.UUCP (Johann Deutinger) Organization: netmbx, Berlin, West Germany Lines: 15 I have written a TSR (using TesSeRact) that sometimes tries to keep one or two files open. Whenever it opens a file during a Windows enhanced mode session (triggered for example by INT28) and I leave Windows, the file will be closed without my knowledge. At least it seems to be closed. When I get DOS-error 6 (illegal handle) and reopen the file, everything works fine. Do I have to use the enhanced mode API (INT2F) to protect some memory areas in order to protect my file handles or should I wait for a new Windows version (I still use the first release)? -- oeschi@netmbx.UUCP | Johann Deutinger voice +49 30 396 50 21 | Ferrari electronic GmbH (.. no, we don't sell cars) fax +49 30 396 80 20 | Beusselstr. 27 - 1000 Berlin 21 - FRG