I have a program written in Python25 and wxPython (downgraded from Python 26 (obviously also downgraded all other associated programs such as wx) because of mouse-over causing the program to stop in Vista - that is now OK when installed on my machine - which when I install on another machine (py2exe -> InstallJammer) comes up with the following error: -

Traceback (most recent call last):

  File "LegaliteMain.pyw", line 13, in <module>

  File "LegaliteViewTransactions.pyc", line 8, in <module>

  File "LegaliteInvoice.pyc", line 7, in <module>

  File "win32com\__init__.pyc", line 5, in <module>

  File "win32api.pyc", line 12, in <module>

  File "win32api.pyc", line 10, in __load

ImportError: DLL load failed: The specified procedure could not be found.

The line 7 in "Invoices" above (called from "Main" and "ViewTransactions") contains "from win32com.client import Dispatch", so I presume the py2exe version of my application is missing some object that when run from source on my machine can be found and operates 100%. I use Dispatch to automate MS Excel.

The other problem I have with the py2exe - running on my machine where the installation does work - is that the Vista 'theme' is not used; i.e. the source version interface is as you would expect but the py2exe interface is flat and inaccurate in places (e.g. the lines around options are broken). I downgraded from Python26 to 25 on the understanding that this would resolve the problem but it has not.

The first issue is the most important but I would also really like to resolve the second issue.

Any help most welcome,