Alexis Ellis wrote: > Thank you for your help. I was obviously headed down the wrong path. > As per your suggestion, I am now using comtypes to create a com server.
You mean Pythoncom, right? >> python myserver.py /regserver > I get the following error: > > Traceback (most recent call last): > File "myserver.py", line 23, in <module> > import win32com.server.register > File > "c:\python26\arcgis10.0\lib\site-packages\win32com\server\register.py", l > ine 13, in <module> > import winerror > File "c:\python26\arcgis10.0\winerror.py", line 3, in <module> > from nterror import * > File "c:\python26\arcgis10.0\nterror.py", line 4, in <module> > import windll > File "c:\python26\arcgis10.0\windll.py", line 20, in <module> > import calldll > ImportError: No module named calldll I don't understand your paths at all. What is "arcgis10.0" doing in there? How did you install Python? Your standard library is living in a subdirectory of that, instead of in \python2.6, where it would ordinarily live. win32com\server\register.py is trying to include "winerror.py", which is part of the normal PyWin32 distribution, in win32\lib. However, for some reason, it is finding winerror.py from \python26\arcgis.10.0 instead. That can't be healthy. register.py is expecting the one in win32\lib. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32