home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sunic!corax.udac.uu.se!corax.udac.uu.se!odysee
- From: odysee@pyton.DoCS.UU.SE (Tobias Thomson)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: MUST HAVE HELP!!!!!
- Date: 24 Jan 93 17:06:09
- Organization: Dept, of Computer Systems, Uppsala University, Sweden.
- Lines: 19
- Message-ID: <ODYSEE.93Jan24170609@pyton.DoCS.UU.SE>
- NNTP-Posting-Host: pyton.csd.uu.se
-
-
- I have a problem with my code:
-
- lWhere = _llseek(hFile, 0, 0);
- err = _llseek(hFile, -lWhere, 1);
- err = _lread(hFile, &bBuf, sizeof(bBuf));
-
- The problem is that hFile (it's a global HFILE) != 0, after
- the last codeline (_lread..) changes from !=0 to just 0 (zero).
-
- I use BC++ 3.1 and Windows 3.1. The program is a Windows program
- with small memory model.
-
- This is perhaps a FAQ but pleeeeease help me, I don't understand
- a shit about this.
-
- T. Thompson: odysee@kobra.csd.uu.se
-
-
-