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

2010-04-21 Thread Tim Roberts
Markus Hubig wrote: > Hi Greg, > > thank You for your help, now I just got my basic flashing script up > and running, ... mostly ;-) > ... > The Problem I have now is when I run the mt.Init() method in line 3, I > get a > window where I have to select a COM-Port and the COM-Port speed and press > O

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-12 Thread Greg Antal
Markus Hubig wrote, On 4/10/2010 8:31 AM: 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 fi

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

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

2010-04-09 Thread Greg Antal
Markus: 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 looks like this: import PyMemtool fm = PyMemtool.S

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

2010-04-09 Thread Tim Roberts
Markus Hubig wrote: > > 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 acce

[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