Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!odi!ed From: ed@odi.com (Ed Schwalenberg) Newsgroups: comp.windows.ms.programmer Subject: Re: Windows and TSRs and INT 2F Message-ID: <1991Mar22.220918.18686@odi.com> Date: 22 Mar 91 22:09:18 GMT References: <1991Mar20.190454.9668@odi.com> Organization: Object Design, Inc. Lines: 11 In-Reply-To: ed@odi.com's message of Wed, 20 Mar 91 19:04:54 GM In the referenced note, I explained how I was having trouble running PC-NFS in a TSR through the Windows INT 2F mechanism. I've since found out that I was being faked out, and in fact the PSP at the time the TSR is called is not reliably set up by Windows. By using the TSR's own PSP, I'm able to make it work consistently. But standard DOS calls like read and close don't work, because they don't go through my TSR. How does Windows manage PSP's? Does each Winapp get its own? When I do an INT 2F, does Windows set up the PSP? Am I being screwed by the fact that my INT 2F calls are in a DLL, not in the application EXE? And, what about Naomi?