Visit Gigasoft's Web Site
 ProEssentials v9 Help


BOOL PEdestroy (hObject)




The handle returned from PEcreate.


This function destroys the window associated with this object, frees memory and resources, and unregisters the handle with the ProEssentials DLL.



NonZero if the function was successful, otherwise Zero.



If this function is not called once for each time a PEcreate function is called, there will be objects stored in memory until the DLL is unloaded. When the DLL is unloaded, it will destroy any abandoned objects remaining in memory.


Visual Basic and Delphi developers will not have to call this function. The visual interfaces call this function for you.