Category : C++ Source Code
Archive   : C_ALL.ZIP
Filename : TI867.ASC

 
Output of file : TI867.ASC contained in archive : C_ALL.ZIP







PRODUCT : Borland C++ NUMBER : 867
VERSION : 3.0
OS : DOS
DATE : August 12, 1992 PAGE : 1/1

TITLE : How To Allow MAKE To Invoke Itself Using SHARE




This document describes a method of allowing MAKE to invoke
itself in protected mode with DOS Share loaded.

SHARE.EXE prevents protected mode MAKE in Borland/Turbo C++ 3.0
from running recursively. Is there any way around this?

Actually, there is a very easy solution. The problem is that the
DPMI kernel is reopening MAKE.EXE in exclusive mode, so when MAKE
tries to invoke itself, there is a file contention problem. The
solution is to mark MAKE.EXE as ReadOnly. This way, SHARE will
not complain about reopening the file because it knows that no
one will write to it.

For more information on marking a file ReadOnly see the printed
documentation included with your version of DOS. The DOS command
you'll need information on is called ATTRIB.

DISCLAIMER: You have the right to use this technical information
subject to the terms of the No-Nonsense License Statement that
you received with the Borland product to which this information
pertains.






























  3 Responses to “Category : C++ Source Code
Archive   : C_ALL.ZIP
Filename : TI867.ASC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/