Re: [python-win32] Using the COM interface of Infinion Memtool

2010-04-21 Thread Markus Hubig
Hi Greg, thank You for your help, now I just got my basic flashing script up and running, ... mostly ;-) 01 import memtool 02 mt = memtool.SMTMemtool() 03 mt.Init("C:\\Program Files\\Memtool\\Targets\\genXC164CM_8F.dat") 04 mt.ConnectTarget() 05 fm = mtool.GetFlashModByIndex(1) 06 sectors = fm.Nu

Re: [python-win32] Using the COM interface of Infinion Memtool

2010-04-10 Thread Markus Hubig
On Fri, Apr 9, 2010 at 11:05 PM, Greg Antal wrote: > The beauty of using the early binding file is that you don't have to use > all that Dispatch syntax because the file does that for you. I don't know > what you named this file, but let's say you call it "PyMemtool.py". Now your > code just look

[python-win32] Using the COM interface of Infinion Memtool

2010-04-09 Thread Markus Hubig
Hi together, i'm trying to use Infinion's Memtool via it's COM interface in my python program. I've created an early binding file with the makepy utility and now I try to figure out how I can use it ... I got five classes which I can use to get access to all the feature