[python-win32] Newbie question
Mark C. Brighton
mbrighton at neuropace.com
Sat Sep 23 01:25:01 CEST 2006
Hello, I don't really have experience using win32com and I'm running into a problem. I'm trying to use a COM object. Several of the functions take strings as arguments, but when I pass in a string I get an exception:
>>> import win32com.client
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
File "C:\Python24\lib\site-packages\win32com\gen_py\A3983AFB-180A-4751-B69B-D5496C253EF2x0x1x0.py", line 52, in AT91Boot_Open
File "C:\Python24\Lib\site-packages\win32com\client\__init__.py", line 446, in _ApplyTypes_
ValueError: invalid literal for int(): /usb/ARM0
The documentation claims that the argument is a pointer to a string. Looking in PythonWin's COM browser, it appears that the object is expecting an integer pointer. Is there a way to get around this?
The DLL in question can be found in: http://atmel.com/dyn/resources/prod_documents/at91_isp_V14.zip
Senior Software Engineer
More information about the Python-win32