Greetings,
Recently I was using Win32::OLE module to access a third-party dll. The dll is registered with regsvr32.exe so its definitely in Windows registry and I could see the interfaces and properties through oleviewer.exe.
The issue i am facing - for the last few days! - is that i could easily access the methods within the DLL however for the life of me, I couldn't get any events to work.
If I write the follownig code:
Win32::OLE->WithEvents($myObj,\&captureEvent)
I get an error message saying - "No Such Interface Supported".
And if i specify an interface that i can see in Oleviwer.exe - e.g
Win32::OLE->WithEvents($myObj,\&captureEvent,'IDataEvents');
I get an error message saying - "Not Implemented".
Any pointers as to what could be wrong? I have been searching for an answer on the Net for a while but wasn't able to find any hence any help would be greatly appreciated.
Regards