From: "Charles Sandmann" Newsgroups: comp.os.msdos.djgpp Subject: Re: Locking all code/data Date: Sat, 31 May 1997 15:51:59 Organization: Aspen Technology, Inc. Lines: 5 Message-ID: <3390491f.sandmann@clio.rice.edu> References: Reply-To: sandmann AT clio DOT rice DOT edu NNTP-Posting-Host: spica.dmccorp.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > I've put "_crt0_startup_flags |= _CRT0_FLAG_LOCK_MEMORY; At startup, but Don't do this - make it a top level global and initialize it to the value above. Then the startup code will see it and lock memory when it's loaded.