>I've built a COM server with py2exe, and it works fine on my Win 7 >Pro 64 bit machine (once I figured out that I had to use the .exe to >register it).  I'm using 32 bit python, py2exe, etc.
When I move the built server to a 32 bit XP machine, the registration process fails, with the following message in the log file:
Traceback (most recent call last):
  File "boot_com_servers.py", line 4, in <module>
  File "win32api.pyo", line 12, in <module>
  File "win32api.pyo", line 10, in __load
ImportError: DLL load failed: The specified procedure could not be found.
I've moved the entire dist folder, so I'm pretty sure it's not missing anything from there.

most likely you are missing some of the Visual C Runtime libraries. On an more up-to-date machine (Win7) it is much more likely that they are allready there by chance (aka: some program brought them with it)

To diagnose that, use Dependency Walker (http://www.dependencywalker.com/)

It will show you the missing DLLs, and some false positives.

Best wishes,

Harald







 

GHUM GmbH
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607

Amtsgericht Stuttgart, HRB 734971