🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #1219

Windows closes my TSR file handles !?

#1219
From: Johann Deutinger
Date: Sat, 09 Feb 1991 23:35
15 lines
1252 bytes
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
Technical Details
Message-ID: <1848@netmbx.UUCP>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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