Thanks XiaoFan, Can you forward me the tweaks? I still can't get it to compile, though not a big VC++ user either! Bill
-----Original Message----- From: Xiaofan Chen [mailto:xiaof...@gmail.com] Sent: Friday, July 22, 2011 9:23 PM To: pyusb-users@lists.sourceforge.net Subject: Re: [pyusb-users] PyUSB with Python 2.7 On Sat, Jul 23, 2011 at 7:51 AM, Xiaofan Chen <xiaof...@gmail.com> wrote: > This pyusb mailing list is deal with the python binding for libusb. > http://sourceforge.net/projects/pyusb/ > > Your PyUSB is deal with python binding for FTDI's proprietary d2xx. > http://bleyer.org/pyusb/ > So you might want to contact the author to build the binary for you. I tried to do it myself and it seems to work after a few tweaks. It does not seem to work with VC++ 2010, but VC++2008 seems to work. C:\Users\mcuee>c:\Python27\python.exe Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import d2xx >>> d = d2xx.listDevices(d2xx.OPEN_BY_DESCRIPTION) >>> print d ('FT232R USB UART', 'Stellaris Evaluation Board A', 'Stellaris Evaluation Board B', 'Amontec JTAGkey-2 A', 'Amontec JTAGkey-2 B') >>> h=d2xx.open(0) >>> print h <FtobjType object at 0x019DC0E0> -- Xiaofan ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users