[python-win32] Py2exe, Active-X and CAB

Paul Prescod paul at prescod.net
Fri Aug 8 15:03:29 EDT 2003


Has anyone made a Web-downloadable, CAB-compressed Active-X using py2exe?

I'm trying to use py2exe and cabarac to build an Active-X and am having 
trouble getting the browser to recognize it and register it. I believe 
that this is due to the fact that Python loads pythoncom.dll (and pyds?) 
using LoadLibrary instead of statically referring to them. The problem 
is that regsvr32 tries to load our someobject.dll and the someobject.dll 
doesn't know how to find the library it depends upon because (I'm told) 
LoadLibrary isn't smart enough to use the DLL as the base for library 
searches.

Any ideas?

  Paul Prescod




More information about the Python-win32 mailing list