Giovanni Bajo wrote:
I'm not fluent with win32com, I barely used Dispatch() once. Mind explaining
the difference between the two? Basically, I knew of two different ways:

- Using Dispatch() (fully dynamic)
- Generate the wrapper with makepy.py, import it with "import Foo", and use the
classes it exports directly.

Hmm, usually you don't import as the client code picks up the gen_py files for early binding if they exist. Is there no explicit pyinstaller support for makepy? I can't see anything.

Actually I think you would need the __import__ function as the '-' in the CLSID break the import syntax for me.

FYI I have got a fix for EnsureDispatch() not using the support\gen_py but have an edge condition to resolve before I submit a patch.

I never heard of EnsureDispath.

FYI I just spotted that the testMSOffice.py uses EnsureModule() which is part of the makepy/EnsureDispatch cluster.

Steve

_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller

Reply via email to