Win32::OLE->new( $classid,\&quit) works and I can directly drive the object's methods and retrieve events. Problem is I don't want to redevelop the controlling application for this, so I tried Win32::OLE->GetActiveObject().
Win32::OLE->GetActiveObject($classid) however fails to return a reference to the control. I have the application that uses the control running but trying to get a reference returns undef and Win32::OLE->LastError() returns 0.
My objective was to listen in to event triggers to verify control activity. Am I missing something or is there a better approach to accomplishing this sort of hook?
In reply to Win32::OLE Question by talwyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |