**************************************************************************************************
*
*	How to integrate the capture hook with foxpro applications
*
*	1. 	In target project user must set reference to VFPExportExe
*		This is done in Project Manager in section Code -> Applications
*		See image Add_Reference_To_VFPExport.PNG
*
*	2.	In project's Startup code (main PRG or startup form's Init / Load method)
*		must add the following code to instantiate the project capture hook
*
*		*-- instantiation code
*		*-- replace 3'rd parameter in NewObject with actual path to VFPExport.exe utility
*		PUBLIC oFormHook
*		oFormHook = NEWOBJECT("ExportHook", "bzAppHook.VCX", "C:\Proiecte\VFPExportUtility\VFPExport_10112010\vfpexport.exe")
*
*	3.	In clean-up code of the application, must release oFormHook object
*
*		release oFormHook 
*
*		VERY IMPORTANT!
*		It is mandatory that hook release code executes properly, 
*		because the captured data is actually saved in unload code for the hook object
*
*		If for any reason the object is not released, or app crash before reaching that code, 
*		captured data will be lost
*
*		To avoid this situation, user can embed the whole application code into a Try ... Catch ... Finally statement
*		with capture hook being instantiated in Try section or before,
*		followed by normal call of application's entry point in Try section
*		and with hook release code in Finally Section
*
*		e.g.
*
*		...
*		PUBLIC oFormHook
*		oFormHook = NEWOBJECT("ExportHook", "bzAppHook.VCX", "C:\Proiecte\VFPExportUtility\VFPExport_10112010\vfpexport.exe")
*		Try
*			Do StartApplication
*		Catch (...)
*			...
*		Finally
*			Release oFormHook
*		End
*
**********************************************************************************************************