0

To create an instance with ProgId I use,

mww = win32com.client.dynamic.Dispatch('MWW.MWWizard')

But,

mww. does not expose any of the COM API.

Is there a way to access all the publicly available members without refereing to the documentation?

But knowing the API before hand and using it say for example mww.OpenProject("") indeed creates an instance of the application and opens a project.

I use VS2017 as dev environment.

jomegaA
  • 123
  • 6
  • 1
    This is similar to this question https://stackoverflow.com/questions/70534883/python-importing-modules-functions-not-showing-as-available . If you use the `dynamic` version explicitly (forcing late binding) there is no easy way to know what functions are available. This is because the Dispatch interface is very generic, and knows nothing about the functions that might be invoked. With win32com, instead use `mww = win32com.client.gencache.EnsureDispatch('MWW.MWWizard')`. More generally, if the MMW (whatever that is) has a `.tlb` file somewhere, you can interrogate that using `oleview.exe`. – DS_London Jan 05 '22 at 11:12

0 Answers0