Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!mit-eddie!uw-beaver!uw-june!roper From: roper@june.cs.washington.edu (Michael Roper) Newsgroups: comp.windows.ms Subject: file i/o and lstrxxx() Keywords: _lseek and ye shall find Message-ID: <7219@june.cs.washington.edu> Date: 9 Feb 89 07:33:50 GMT References: <213@secola.Columbia.NCR.COM> <1678@cps3xx.UUCP> Organization: U of Washington, Computer Science, Seattle Lines: 16 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 I'm not sure what problem you are having, but both the file i/o functions you mention and the lstrxxx() functions are still part of the SDK. You'll find that "winexp.h" in the cardfile sample code contains all the prototypes you need. I doubt that these functions will disappear anytime soon. Try Online for more reliable information on the Windows SDK. Mike Roper