From: kagel AT quasar DOT bloomberg DOT com Date: Tue, 26 Nov 1996 13:09:14 -0500 Message-Id: <9611261809.AA10147@quasar.bloomberg.com > To: juanjo AT jet DOT es Cc: djgpp AT delorie DOT com In-Reply-To: <329B2514.730@jet.es> (message from Juanjo Erauskin on Tue, 26 Nov 1996 16:12:52 -0100) Subject: Re: Problem with shared open Reply-To: kagel AT dg1 DOT bloomberg DOT com Errors-To: postmaster AT bloomberg DOT com From: Juanjo Erauskin Newsgroups: comp.os.msdos.djgpp Date: Tue, 26 Nov 1996 16:12:52 -0100 Organization: Unisource Espana NEWS SERVER Lines: 13 Nntp-Posting-Host: info635.jet.es Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (Win95; I) Dj-Gateway: from newsgroup comp.os.msdos.djgpp Content-Type: text/plain; charset=us-ascii Content-Length: 353 Hello: I have a DJGPP compiled program that runs in W95. This open a file in O_RDWR mode in one MSDOS window and then program runs OK. But if I try to run this same program in another MSDOS window then program fails and set errno with this error: (4) EACCES - Permission denied What is the solution of this problem ?. Thanks. MS-DOS is basically a single task/single user operating system at heart and W95 is basically MS-DOS at heart! You need to run share to implement file sharing protocols needed for network or multi-task file sharing in DOS or Windows 95. This is most likely your problem. -- Art S. Kagel, kagel AT quasar DOT bloomberg DOT com A proverb is no proverb to you 'till life has illustrated it. -- John Keats