🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.misc
1 messages
1 total messages Started by Tobias Thomson Sun, 24 Jan 1993 17:06
MUST HAVE HELP!!!!!
#2318
Author: 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

 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads