delorie.com/archives/browse.cgi | search |
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:1813 |
Path: | news-dnh.mv.net!mv!news.sprintlink.net!in1.uu.net!gatech!udel!rochester!cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!oitnews.harvard.edu!news.sesqui.net!rice!news!sandmann |
From: | Charles Sandmann <sandmann AT clio DOT rice DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Sharing violation reading myself |
Date: | Tue, 29 Aug 1995 12:08:02 CDT |
Organization: | Rice University, Houston, Texas |
Lines: | 9 |
References: | <DE1w68 DOT EIr AT cfanews DOT harvard DOT edu> |
Reply-To: | sandmann AT clio DOT rice DOT edu |
Nntp-Posting-Host: | clio.rice.edu |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp |
> I have djgpp 1.12maint4 program which reads its .EXE file and does an > integrity check. Under DOS, the open fails if SHARE.EXE is loaded, but under > OS/2, which provides share-like features, the open succeeds. It also This is very probably a DPMI vs non-DPMI issue. Under DPMI it reads the image into memory and then closes the handle on the file. Under non-DPMI it keeps the handle open while the image is executing so it can demand page code sections in. V2 reads the image and then closes the file, so you shouldn't have a problem.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |