🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2318

MUST HAVE HELP!!!!!

#2318
From: Tobias Thomson
Date: Sun, 24 Jan 1993 17:06
19 lines
924 bytes
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

 
Technical Details
Message-ID: <ODYSEE.93Jan24170609@pyton.DoCS.UU.SE>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!corax.udac.uu.se!corax.udac.uu.se!odysee

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