Interrogating objects passed from COM
-
Hi, I'm just beginning work on an assembly which, amongst other things, will perform some transformations and other operations on objects passed from COM. I've created a stub assembly to receive these objects to see what they look like in the debugger. However, because they're passed as "Object" I am not able to see any of their methods or properties. Can someone advise me on how I can get a view of the methods and properties of these objects so that I can better understand what I'm dealing with? All help and advice will be warmly received. Kind Regards, Dave
Regards, Dave
-
Hi, I'm just beginning work on an assembly which, amongst other things, will perform some transformations and other operations on objects passed from COM. I've created a stub assembly to receive these objects to see what they look like in the debugger. However, because they're passed as "Object" I am not able to see any of their methods or properties. Can someone advise me on how I can get a view of the methods and properties of these objects so that I can better understand what I'm dealing with? All help and advice will be warmly received. Kind Regards, Dave
Regards, Dave
You can use oleview.exe to explore COM types registered on your computer. I assume that you know at least name of the COM type that is passed to your assembly. Use the name to look for the type inside oleview.exe.