home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / progc / c_all592.arj / TI1001.ASC < prev    next >
Text File  |  1992-04-29  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT  :  Paradox Engine                        NUMBER  :  1001
  9.   VERSION  :  All
  10.        OS  :  All
  11.      DATE  :  April 29, 1992                           PAGE  :  1/1
  12.  
  13.     TITLE  :  Engine Internal Errors
  14.  
  15.  
  16.  
  17.  
  18.   The are several main causes of Paradox Engine internal errors.
  19.   The most common cause is that some previous Engine call failed
  20.   and the user has tried to continue using the Engine, ignoring the
  21.   error or not being aware of it, leading into a situation where
  22.   the Engine is no longer in a valid state and must be shut down.
  23.  
  24.   The second most common cause is some sort of memory corruption--
  25.   either of the code, data, or stack segment.  To solve these
  26.   problems, make sure that every Engine call is being checked for
  27.   errors.  Make sure no one else is trying to use the tables at the
  28.   same time, perhaps changing the tables thereby causing the
  29.   original program not to work properly.  Try to reduce the problem
  30.   to one particular function or module that is failing to work
  31.   properly.
  32.  
  33.   In most cases, the errors are the fault of improper programming.
  34.   One place where an internal error can be generated is in the swap
  35.   manager, when memory blocks are swapped out to the table, and the
  36.   swap manager notices that the block to be swapped out belongs way
  37.   past the end of the table file.  In that case, all earlier blocks
  38.   beyond the end of the table are swapped out to disk, in order.
  39.   If it can't find one of these earlier blocks, it produces an
  40.   internal error.
  41.  
  42.   To track down memory corruption problems and other possible
  43.   causes of Engine internal errors, Borland has a specific
  44.   technical information document available, "TI738."  This file is
  45.   available on Compuserve, BIX, GEnie, the Borland Bulletin Board,
  46.   as well as via our TechFax system.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.