comty...@richardshea.fastmail.fm schrieb: > Hi - I've just used comtypes-0.6.1.win32.exe to install comtypes to > Python 2.6 on Windows Vista 32 bit. > > The installer displays an error message on the last panel that reads : > > Traceback (most recent call last): > File "<string>", line 2, in <module> > File "C:\bin\installed\Python2.6\Lib\ctypes\__init__.py", line 10, in > <module> > from _ctypes import Union, Structure, Array > ImportError: DLL load failed: The specified module could not be found. > > > I'm not sure if this is a problem or not. comtypes is working to some > extent I was just able to do this ... > >>>> from comtypes.client import CreateObject >>>> xl = CreateObject("Excel.Application") >>>> xl.Visible = True >>>> print xl > > ... but I'd appreciate someone letting me know if I should be concerned > abou this.
I guess this error occurs when the installer is trying to run the postinstall script. This script asks whether any previous comtypes generated files in the comtypes\gen folder should be removed. It is recommended (but not required) to remove these files. So - you should not worry about this problem. (Well, I probably should but I cannot reproduce it). -- Thanks, Thomas ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users