I'd like to create a testharness app for COM dlls.
In psuedocode:
- Examine target DLL and determine public object(s) methods
- Let the user pick an object, method and parameters
- instantiate the object and call the method with the appropriate params
I assume this is possible as it's effectively what VS does when it creates an Interop dll - but I have no idea how to examine an arbitrary dll and extract the relevant object/method/param information.
I'm assuming that the Reflection
namespace won't help as it's not a .net dll - Where should I be looking?