home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / DESQVIEW / MISC / NODV.ZIP / README < prev   
Encoding:
Text File  |  1992-03-16  |  2.4 KB  |  61 lines

  1. Some notes accompanying the NODV program
  2. ----------------------------------------
  3.  
  4. Usage of NODV:
  5.  
  6.   NODV <executable> [options]
  7.  
  8. Where <executable> means a .COM or .EXE file that's in your path, and
  9. [options] are the options you would've handed to the program anyway.
  10. So normally you'd prepend NODV to the command line, and everything works
  11. just fine. Only when you want to start a batch file, an internal DOS
  12. command, an alias (4DOS) or the like, you should take a detour:
  13.  
  14.   NODV %COMSPEC% /C <any_command> [options]
  15.  
  16. You can put this all in a batch file, turn it into an alias itself...
  17. I bet you can figure this part out alone.
  18.  
  19. **WARNING** The DESQview detection in certain programs is not there
  20. just to annoy you. It is intended to protect you from damage that may
  21. occur when you use the program while simultaneously doing, for example,
  22. disk access in another window. When using NODV, you circumvent the
  23. detection, but the damage may still occur. BE SURE TO KNOW WHAT YOU'RE
  24. DOING! I can in no way be held responsible for the damage caused by
  25. the use or misuse of NODV.
  26.  
  27.  
  28. Now for the source. Did you watch it? It's ugly, isn't it? Yeah, I know...
  29. There is a terrible kludge there to force a variable to be stored in the
  30. code segment. I don't know any better way to achieve this, using BC.
  31. If anyone can teach me here and point me in the direction of something
  32. a bit less dirty, I'm all ears.
  33.  
  34. What the program basically does is intercept the DESQview installation
  35. check (INT 15,AH=2B,CXDX="DESQ") and return "not installed". That keeps
  36. all the DESQview-aware (or even specific!) programs that I know from
  37. detecting DESQview.
  38.  
  39. I managed to do something about the memory-hungryness of the program too.
  40. It now uses about 13K of memory. I think this can be brought down a little
  41. further by reducing stacksize, heapsize, and cutting some of the library
  42. routines (I've already dumped printf), but there isn't much to gain in the
  43. library since spawn drags in a lot of baggage on its own.
  44.  
  45.  
  46. In case you make some changes to improve this, I'm interested in the
  47. source. You are free to use this code anyway you like (well, except
  48. to claim it as your own and sue me for giving it away!), and I trust
  49. common courtesy that I get a reference when you do.
  50.  
  51.  
  52. In case you feel a need to, I can be reached as:
  53.  
  54.   Jan-Pieter Cornet
  55.   Aletta Jacobsstraat 8
  56.   2642 AD  Pijnacker
  57.   Netherlands
  58.   phone: +31 1736 98480
  59.   Email: cornet@duteca.et.tudelft.nl
  60.      or  ba132@cleveland.freenet.edu
  61.