Note that you cannot use the
VALID-HANDLE function to verify that a component handle value points to a particular COM object.
COM-HANDLE values might be reused within an application when the COM objects they point to are no longer available. For more information, see
ManagingCOM object resources.
Also, this function only indicates that a component handle is invalid from some action (or inaction) of the OpenEdge application. It does not show as invalid a COM handle that a user might have manually closed, for example, an Automation Server application that provided the COM object.