Newsgroups: comp.os.msdos.djgpp From: matt v Subject: that code to lock data with bcsio20.zip Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Lines: 13 Date: Wed, 21 Oct 1998 18:40:48 -0500 NNTP-Posting-Host: 12.13.120.8 X-Trace: news.giganews.com 909013253 12.13.120.8 (Wed, 21 Oct 1998 18:40:53 CDT) NNTP-Posting-Date: Wed, 21 Oct 1998 18:40:53 CDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I finally got the term program and the test.c programs to work finally, (from the bcsio20.zip file) I am wondering though, is there a simpler way of including the function to lock the data and code, since obviously all serial programs with djgpp need that. Is there a way to copy that code (i think its 5 or 6 lines) into a file to just include at compile time or would i have to write those couple lines in each and every program i wanted to write? If there is some way i can make a file with just those few lines like a *.o file that I could include at compile time, that would be handy. is there a way to do this? matt