
4/25/95


1:

  As you try DocMem, please remember there may still be small bugs in
  the code.  If you find any, please let me know.  On the other hand,
  if DocMem works well for you, please let me know that too.

  Anyone care to do some more bug testing for me?


2:

  I'd like to see this utility print the filename and line number of
  the DOCfarmalloc() calls.  I'm not sure how I can attain that
  information.  The function call DOCfarmalloc() has a formal prototype,
  and currently looks like:

  void _far *DOCfarmalloc(long bytes)
  {
    ...
  }


  I think I can grab the file/line stuff using a macro setup like this,
  but I also believe that using a macro in this way defeats the type
  checking of the user parameter 'bytes'.

  #define DOCfarmalloc(b)  DOCfarmallocfunc(b, __FILE__, __LINE__)

  void _far *DOCfarmallocfunc(long bytes, char _far *file, unsigned int line)
  {
    ...
  }


3:

  It would be nice if the usage of DocMem was more transparent, and didn't
  require the special call names like DOCfarmalloc(), or explicit removal
  from source when testing is complete.  If you have ideas on a nice way
  to do this, please let me know.



Me:

  If you have any suggestions or would like to work on this, please
  let me know.


  Brian Reed  73503.3364@compuserve.com


