Can we call COM exposed interface methods at runtime one by one? This can be achieved in the case of Win32 DLL’s using reflections, but the same job needs to be done with COM.dll or COM.exe. We’ll be able to view all exposed methods of that COM.dll or COM.exe and we need to call all of them one by one (Remember, I need to call unmanaged code, purely written in VC++ unmanaged code, that would not be .NET assembly).
Regards,
Usman
If the target COM object supports the IDispatch interface you could read its typelibrary and call the methods dynamically. But you still need to figure out what to pass should the method take any arguments.