'Copyright 2005
'dzzie@yahoo.com
'http://sandsprite.com

'Sandsprite.com VB Debugger Example
'
'This is a bare bones debugger written in VB/C
'To launch or attach the debugged process we call out from our vb ui
'to a C dll I made that does so in a seperate thread. When a debug event
'or exception occurs, this thread will use interprocess communication
'methods to notify the main (single threaded) VB UI.
'
'The interprocess commun method i chose was to subclass the main form
'looking for the WM_COPYDATA message and transferring the debug event
'info along with its data structure. Since VB only supports single threading
'threads spawned in non native dlls calling back into vb code will = crash
'
'disassembler functionality provided by olly.dll which
'is a modified version of the GPL source from Oleh Yuschuk.
'Copyright (C) 2001, see CDisassembler for more details.
'
'Some structure definitions were taken from another VB debugger available here:
'http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=42422&lngWId=1
'
'External Dependancies:
'   1) olly.dll       - disassembler - VC6 - open source
'   2) vb_dbg.dll     - debugger/thread controller VC6 - open source
'   3) spSubclass.dll - subclass component VB6 (ActiveX must regsvr32) - closed source
'   4) peview.dll     - pe viewer classes VB6 (ActiveX must regsvr32) - dll project source
'                         not available  but classes are available on site in
'                         pecrypter project
'
'License: You are free to use any of the code I developed in this project in anyway
'         you need without restriction however you cannot remove any copyright notices.
'
'         Olly.dll is subject to its own licensing terms as it uses 3rd party code
'         please refer to the project homepage and source package for further details.
'
'           http://sandsprite.com/CodeStuff/olly_dll.html


>>> note before running:

      regsvr32 spSubclass.dll
      regsvr32 peview.dll

      before running in IDE copy olly.dll and vb_dbg.dll 
      to your windows directory.

