Re: pythoncom.CoInitialize() not recognised in Eclipse

2010-03-29 Thread KB
On Mar 28, 10:59 pm, "Dieter Verfaillie" wrote: > Quoting KB : > > > I am getting an error from the IDE saying it does not recognise > > CoInitialize(): > > > > > import pythoncom > > > pythoncom.CoInitialize() > > pythoncom.CoUninitialize() > > > > It works out of the box with PyDev 1.5

Re: pythoncom.CoInitialize() not recognised in Eclipse

2010-03-29 Thread KB
On Mar 28, 8:16 pm, Jason Scheirer wrote: > On Mar 28, 7:14 pm, KB wrote: > > > > > Hi there, > > > I have in the past used PythonWin to write python for COM, and > > switched to Eclipse. > > > I am getting an error from the IDE saying it does not recognise > > CoInitialize(): > > > > > impo

Re: pythoncom.CoInitialize() not recognised in Eclipse

2010-03-28 Thread Dieter Verfaillie
Quoting KB : I am getting an error from the IDE saying it does not recognise CoInitialize(): import pythoncom pythoncom.CoInitialize() pythoncom.CoUninitialize() It works out of the box with PyDev 1.5.5.2010030420 on Eclipse 3.5.2 on Windows XP. If nothing seems to work for you, y

Re: pythoncom.CoInitialize() not recognised in Eclipse

2010-03-28 Thread Jason Scheirer
On Mar 28, 7:14 pm, KB wrote: > Hi there, > > I have in the past used PythonWin to write python for COM, and > switched to Eclipse. > > I am getting an error from the IDE saying it does not recognise > CoInitialize(): > > > import pythoncom > > pythoncom.CoInitialize() > pythoncom.CoUninitial

pythoncom.CoInitialize() not recognised in Eclipse

2010-03-28 Thread KB
Hi there, I have in the past used PythonWin to write python for COM, and switched to Eclipse. I am getting an error from the IDE saying it does not recognise CoInitialize(): import pythoncom pythoncom.CoInitialize() pythoncom.CoUninitialize() (red X next to the two bottom lines sayin