[python-win32] exe version information and icon extraction?

2006-01-24 Thread James Carroll
Hi, I'm trying to get some information out of some .exe files on Windows. I want to get the "Original File Name" and other resources / properties. (Company, file version, and other stuff you can see by right clicking on an exe and choosing the version tab.) I'd also like to get a small wxImage f

[python-win32] exe version information and icon extraction?

2006-01-24 Thread James Carroll
Hi, I'm trying to get some information out of some .exe files on Windows. I want to get the "Original File Name" and other resources / properties. (Company, file version, and other stuff you can see by right clicking on an exe and choosing the version tab.) I'd also like to get a small wxImage f

[python-win32] AttributeError: 'NoneType' object has no attribute 'CLSID' from a DispatchWithEvents call

2006-01-24 Thread Garth Johnson
I have now created the basics of my application that uses a USB HID card reader peripheral via a vendor supplied OCX com control, and it runs fine from both the IDE (WingIDE) and the command line. Gathers the data and stores it cleanly. Much happiness there. :) However, when I compile it with

Re: [python-win32] AttributeError: 'NoneType' object has no attribute 'CLSID' from a DispatchWithEvents call

2006-01-24 Thread Mark Hammond
> I have now created the basics of my application that uses a USB HID card > reader peripheral via a vendor supplied OCX com control, and it runs > fine from both the IDE (WingIDE) and the command line. Gathers the data > and stores it cleanly. Much happiness there. :) > > However, when I compile

Re: [python-win32] AttributeError: 'NoneType' object has no attribute 'CLSID' from a DispatchWithEvents call

2006-01-24 Thread Garth Johnson
Mark - you are a godsend - that was it! Thank you! My setup looks a bit alien to what you pasted here though (and I may have to revisit that at some point soon I fear) but I adapted it and - whaddya know? Whee! It flies! I also found the InnoSetup stuff for installing the OCX -which flew fine

[python-win32] Re: exe version information and icon extraction?

2006-01-24 Thread Roger Upole
> Hi, I'm trying to get some information out of some .exe files on > Windows. I want to get the "Original File Name" and other resources / > properties. (Company, file version, and other stuff you can see by > right clicking on an exe and choosing the version tab.) > > I'd also like to get a sma