--- Graham Bloice <[EMAIL PROTECTED]> wrote:
> > Traceback (most recent call last):
> > File
> >
>
"C:\Python22\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",
> > line 310, in RunScript
> > exec codeObject in __main__.__dict__
> > File
> >
>
"C:\Deneb\BHSS\Projects\AKL_0502\VC\PythonApplications\OPCWriteTestor.py",
> > line 103, in ?
> > Sensor(1)
> > File
> >
>
"C:\Deneb\BHSS\Projects\AKL_0502\VC\PythonApplications\OPCWriteTestor.py",
> > line 100, in Sensor
> > grpPinWheel.SyncWrite(num, sh, listval,
> errors)#,
> > CID, SID)
> > File
> >
>
"C:\Python22\Lib\site-packages\win32com\gen_py\F5F1FC84-DB0B-11D3-
> > 883B-0050041DD057x0x1x0.py",
> > line 302, in SyncWrite
> > , ServerHandles, Values, Errors)
> > File
> >
>
"C:\Python22\Lib\site-packages\win32com\client\__init__.py",
> > line 446, in _ApplyTypes_
> > return self._get_good_object_(
> > com_error: (-2147352567, 'Exception occurred.',
> (0,
> > None, None, None, 0, -2147024809), None)
> >
> >
>
> Have you set errors to be an empty list before the
> call ?
>
> Graham
>
>
Yes I have tried errors as an empty list and array
without success. I have also tried to use
pythoncom.missing as this argument.
cheers
Mike
____________________________________________________
Do you Yahoo!?
The New Yahoo! Movies: Check out the Latest Trailers, Premiere Photos and full
Actor Database.
http://au.movies.yahoo.com
_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32