I'm hoping that Mark Hammond will catch sight
of this thread and chip in. I'm guessing that
you're seeing some odd interaction between
the generated class/module and the COM object
properties. There's a sort of funniness where
properties can be methods... or not.
Have you generated a proxy module
Hi,
I'm using win32pdhutil.FindPerformanceAttributesByName in order to know
if 'explorer.exe' is running or not. Sometimes I get this error :
"""
File "win32pdhutil.pyc", line 97, in FindPerformanceAttributesByName
File "win32pdhutil.pyc", line 60, in GetPerformanceAttributes
pywintypes.e
> I'm hoping that Mark Hammond will catch sight
> of this thread and chip in. I'm guessing that
> you're seeing some odd interaction between
> the generated class/module and the COM object
> properties. There's a sort of funniness where
> properties can be methods... or not.
I'm stumped too.
>
>
le dahut wrote:
> Hi,
>
> I'm using win32pdhutil.FindPerformanceAttributesByName in order to know
> if 'explorer.exe' is running or not. Sometimes I get this error :
> """
>File "win32pdhutil.pyc", line 97, in FindPerformanceAttributesByName
>
>File "win32pdhutil.pyc", line 60, in GetPer
Hi Mark,
On 5/16/07, Mark Hammond <[EMAIL PROTECTED]> wrote:
> These appear to be a reposts of the message you sent on May 11, which I also
> answered on that same day (notwithstanding time zones!)
>
Sorry about that, but actually they were sent before and never managed
to appear on the list unti
Tim Golden wrote:
> le dahut wrote:
>> Hi,
>>
>> I'm using win32pdhutil.FindPerformanceAttributesByName in order to know
>> if 'explorer.exe' is running or not. Sometimes I get this error :
>> """
>>File "win32pdhutil.pyc", line 97, in FindPerformanceAttributesByName
>>
>>File "win32pdhuti
Tim Golden wrote :
> le dahut wrote:
>> Hi,
>>
>> I'm using win32pdhutil.FindPerformanceAttributesByName in order to know
>> if 'explorer.exe' is running or not. Sometimes I get this error :
>> """
>>File "win32pdhutil.pyc", line 97, in FindPerformanceAttributesByName
>>
>>File "win32pdh
See below..
On 5/16/07, Tim Golden <[EMAIL PROTECTED]> wrote:
> I'm hoping that Mark Hammond will catch sight
> of this thread and chip in. I'm guessing that
> you're seeing some odd interaction between
> the generated class/module and the COM object
> properties. There's a sort of funniness where
[resend - I think the mailing list ate my last post..]
See comments below...
On 5/16/07, Mark Hammond <[EMAIL PROTECTED]> wrote:
> > I'm hoping that Mark Hammond will catch sight
> > of this thread and chip in. I'm guessing that
> > you're seeing some odd interaction between
> > the generated cla
Michael March wrote:
> [resend - I think the mailing list ate my last post..]
I saw it! But no matter, the web link's useful. I imagine
Mark's hitting the sack about now (assuming he's in
Australia). It's 3pm here in the UK so I'll try to see
if I can spot what's happening, but from a glance at
th
> > printing repr(mybug) before the above line would be
> interesting tho, just to
> > make sure it is a makepy object - if it wasn't I could see
> it happening in
> > edge cases (ie, the code around ERRORS_BAD_CONTEXT in
> > win32com.client.dynamic)
>
> >>> repr(mybug)
> ' 0x18853976>'
Yeah -
Tim Golden wrote:
> Michael March wrote:
>> [resend - I think the mailing list ate my last post..]
>
> I saw it! But no matter, the web link's useful. I imagine
> Mark's hitting the sack about now (assuming he's in
> Australia). It's 3pm here in the UK so I'll try to see
> if I can spot what's hap
Hurray
>>> mybug=bfact.Item(24)
>>> mybug.Field("BG_DESCRIPTION")
u'Test Set: Mercury Tours UI\nTest: [1]Welcome Page\nRun: Run_9-11_11-43-36\nSte
p: Verify Tag Properties\n\nDescription:\n1. Click the "Find Next" button.\n2. V
erify properties for the tag.\n\nExpected result:\n\n\nActua
Greetings,
I have been a COM expert for all of two days ;-)
I did get a Type Mismatch error on an argument, .. the more I dug and
researched this error, the more I found out and now have a question
about early binding.
I am trying to get access to two COM objects/interfaces <=(don't know
what
> Greetings,
>
> I have been a COM expert for all of two days ;-)
>
> I did get a Type Mismatch error on an argument, .. the more I dug and
> researched this error, the more I found out and now have a question
> about early binding.
>
> I am trying to get access to two COM objects/interfaces <=(don
Hi Mark,
Thanks for the info, I had only just inserted the error handling from
the example from your book, and
although it was staring me in the face I was not concentrating on that
message, I was looking at the late/early binding info.
I had missed supplying one argument in that method call,
16 matches
Mail list logo