Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!cps3xx!usenet From: usenet@cps3xx.UUCP (Usenet file owner) Newsgroups: comp.windows.ms Subject: Re: Dialog Structure and File I/O Keywords: dialog structure, file routines Message-ID: <1678@cps3xx.UUCP> Date: 31 Jan 89 22:26:00 GMT References: <213@secola.Columbia.NCR.COM> Reply-To: riordan@frith.UUCP (Mark Riordan {of Systems}) Organization: Engineering, Michigan State University, E. Lansing Lines: 10 In article <213@secola.Columbia.NCR.COM> cps3xx!eecae!mailrus!uflorida!gatech!hubcap!ncrcae!secola!ramspott ramspott@secola.Columbia.NCR.COM (John Ramspott) writes: >Second, I noticed that many of the programs in the Petzold book don't link >under Windows 2.1. They can't find any of the "undocumented" file I/O >like _lseek, _lread, _lwrite, etc. I called Microsoft and they said they >had been removed in the "upgrade" :-). They recommend writing these routines This is puzzling, because I have Windows 2.1 and SDK 2.1, and I have successfully called _lread (and I think _lseek) in a program I compiled with the Small memory model. In fact, I learned about _lread from Petzold's book, which I highly recommend (like everyone else).