TIP: Click on subject to list as thread! ANSI
echo: clipper
to: HANS BLUM
from: ROBERT LAMPING
date: 1996-11-18 20:42:00
subject: DosError 5, Novell, Win95, Exospace

 RFL> 24 Oct 96 11:06, Hans Blum wrote to All:
 
 > Who can help us with the next problem. We have developed several
 > CLIPPER- applications. Some of them run stand-alone, some in a
 > NOVELL-network. Computers with Win95 in a NOVELL-network often give
 > Dos Error 5 (Acces Denied) when running our program. It happens only
 > when we have used the EXOSPACE-linker. The Dos Error occurs on both
 > DBF and NTX-files. It is not always the same file and it is not 100 %
 > reproducable. During running the program, several files are opened and
 > closed. At maximum we have 40 DBF-files opened and 60 index-files.
 > This problem never occurs on local machines or machines without Win95.
 You probably use Clipper 5.3a, don't you?
 Change the errorsys.prg as follows:
 * Look up:
	// for network open error, set NETERR() and subsystem default
	if ( e:genCode == EG_OPEN .and. e:osCode == 32 .and. e:canDefault )
		NetErr(.t.)
		return (.f.)									// NOTE
	end
* And add:
	// 5.3a Temp patch: for network open error, set NETERR() and subsystem 
default
	if ( e:genCode == EG_OPEN .and. e:osCode == 5 .and. e:canDefault )
//                tone( 1050,1)
		NetErr(.t.)
		return (.f.)									// NOTE
	end
* 
Compile errorsys.prg and add it to your link script, to bypass the 
errorsys.obj in 
your Clipper.lib.
 Good Luck!
 Robert Lamping
 The Netherlands
 Member of the SDGN
 
--- Blue Wave v2.12 [NR]
---------------
* Origin: HEKOM Holland. Clipper and CDGN Headquarters. (2:2802/223)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.