Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Release Notes - <b>1 overlays on a network</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 1   Overlays on a Network
--------------------------------------------------------------------------------

     .RTLink produces overlays containing compiled program code.  By default,
     all compiled Clipper code is placed in dynamic overlays.  Additionally,
     static overlaying may be requested for C or Assembler code.

     By default, overlays are appended to the end of the application's  .EXE
     file (the code may be written to a separate overlay file by using the
     INTO clause in the overlaying directive).  During execution, the runtime
     system opens the .EXE file and reads overlays as required.

     When the runtime system needs to read overlays, it opens the .EXE file
     for shared, read-only access.  On a network, this allows multiple
     processes to read the file at the same time.

     On some networks, however, a problem can arise if an attempt is made to
     run the .EXE when another process has opened it to read overlays.  The
     error occurs because the DOS EXEC function (used by COMMAND.COM to
     execute programs) opens .EXE files using a sharing mode called
     "compatibility mode."  On some networks, this causes a sharing violation
     if the file is already in use by another process, even if the other
     process has specified that it wishes to share the file.

     If this conflict occurs, it can usually be resolved by marking the
     affected file read-only on the disk.  A small utility program, RO.COM,
     is supplied for this purpose.  RO toggles the read-only status of a
     specified file.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson