home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / WINDOWS / MISC / SPY30.ZIP / README next >
Encoding:
Text File  |  1991-10-16  |  3.2 KB  |  81 lines

  1. This is the SPY program from "Spying on Windows" in the 1987 IBM special
  2. issue of BYTE, modified to run under Windows 3.0.  It "spies" on other
  3. windows' attributes, such as style, icon handle, etc.
  4.  
  5. List of files
  6. ./:
  7. -d----         0  original - Directory containing original source
  8. a-----      2229  readme   - This file!
  9. a-----     36878  spy.c    - The source in C.
  10. a-----       269  spy.def  - Module definition file
  11. a-----     21100  spy.exe  - The Win 3.0 executable
  12. a-----       701  spy.h    - The source header file
  13. a-----      1038  spy.ico  - The icon file
  14. a-----      4731  spy.prj  - BC's project file
  15. a-----       976  spy.res  - The compiled resource file
  16.  
  17. ./original:
  18. a-----       282  spy      - Makefile for the original program
  19. a-----      1231  spy.doc  - The original docs
  20. a-----      1023  spy.rc   - The original resource script
  21. a-----     35574  spy104.c - The original source
  22.  
  23. Modifications I made:
  24.   Minor modifications to SPY.C
  25.      Changed a function (Paint) to use more the standard va_args
  26.   Deleted an include line in SPY.RC
  27.   Converted the Windows 2.0 icon file to 3.0 (and changed a few of
  28.      its colours as well).
  29.   Add a timer to automatically update the windows information.
  30.   Change the display logic to use the value returned by BeginPaint
  31.      instead of using the PAINTSTRUCT structure.
  32.  
  33. What I did not do:
  34.   Made intensive tests on this port.
  35.   Guarantee that it would work on your machine.  (In fact I will
  36.      *NOT* even guarantee that you can compile it.)  This is a
  37.      10-minute hack so don't expect miracles.  I compiled it
  38.      using Borland C++, using the small model - all functions
  39.      exported.
  40.   Changed any of its algorithm.  Some of it may not work for
  41.      Windows 3.0.
  42.   Tried to compile it with Microsoft C v6.0 but I may try if I
  43.      get requests to do so.
  44.  
  45. Modifications that ought to be done but was not (anybody keen?):
  46.   Have the display change when the scroll bars are tracked.
  47.   Add an about option.
  48.   Display objects rather than numbers, for example, instead of
  49.   displaying the handle to a window's background brush, display
  50.   the brush itself.
  51.  
  52. If you cannot run/compile this - tough.  I included the original
  53.   Windows 2.0 source so you can hack it if you like.  You will
  54.   have to edit the makefile though, as I renamed the source to
  55.   SPY104.C.  Note that I used Borland C++'s IDE project
  56.   management so I did not need a makefile.
  57.  
  58. Disclaimer:  By using this hack, you are accepting that I will
  59.   NOT be held responsible for any loss or damage resulting
  60.   from the use or misuse of this program.
  61.  
  62. If you have a problem, you can either;
  63. a)  Contact me.  Although I don't plan to support this program, try
  64.     me anyway - if I have the time and the knowledge, I will
  65.     try and help you.
  66. b)  Contact the original author.  He is probably the person to
  67.     ask if you have a problem with the algorithm.  I merely
  68.     ported it to Windows 3.0.
  69.  
  70. If you are using Microsoft's SDK, you might want to rename SPY to
  71. something like, ESP, to avoid confusion with the SPY that comes
  72. with the SDK.
  73.  
  74. I can be contacted at:
  75. email:
  76. chuah@stargate.elec.canterbury.ac.nz  (prefered)
  77. CHUAHDC@ELEC.canterbury.ac.nz
  78.  
  79.  
  80. *** Happy hacking ***
  81.