[python-win32] Re: CAPICOM on Vista 64

2008-07-15 Thread Roger Upole
"Mark Hammond" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm using python 2.6b1.amd64 and pywin32-211.win-amd64 on my 64 bit vista system. I am trying to access the CAPICOM COM library through win32com.client. However, every time I try to load it through the Dispatch method I ge

[python-win32] Re: win32gui_menu doesn't work correctly

2008-07-15 Thread Roger Upole
Bugger - that doesn't appear to be working for me either at the moment. I can't recall me knowing a reason for that but I don't have time at this instant to dig deeper. Cheers, Mark This one appears to be my fault. I changed bitmap handles to be self-closing like PyHANDLE's. (DeleteObject i

Re: [python-win32] win32gui_menu doesn't work correctly

2008-07-15 Thread Mark Hammond
> When I run win32gui_menu.py, one bitmap in the menu is not drawing. The one > that's not drawing is the ico convert to bitmap with the text "Menu with icon". Bugger - that doesn't appear to be working for me either at the moment. I can't recall me knowing a reason for that but I don't have tim

Re: [python-win32] COM Base Class and derived classes

2008-07-15 Thread Mark Hammond
You probably want to look at using makepy and see if the behaviour changes. Note too that the "name" displayed by win32com may not correspond to the type of the object at all, particularly when makepy isn't used or for whatever reason the object doesn't support type information. Are you actual

Re: [python-win32] CAPICOM on Vista 64

2008-07-15 Thread Mark Hammond
> I'm using python 2.6b1.amd64 and pywin32-211.win-amd64 on my 64 bit > vista system. I am trying to access the CAPICOM COM library through > win32com.client. However, every time I try to load it through the > Dispatch method I get the following error: It appears that a 64bit version of that COM o

[python-win32] CAPICOM on Vista 64

2008-07-15 Thread Matt Herbert (matherbe)
Hey all, I'm using python 2.6b1.amd64 and pywin32-211.win-amd64 on my 64 bit vista system. I am trying to access the CAPICOM COM library through win32com.client. However, every time I try to load it through the Dispatch method I get the following error: >>> win32com.client.Dispatch('CAPICOM.Stor

Re: [python-win32] about wmi exception

2008-07-15 Thread Tim Golden
Patrol Sun wrote: I want to prevent some process from running. The code is in the following. As an additional datum, the WMI event management code (at least for process creation) works by polling, not by receiving events from the underlying O/S. That means that it's possible to miss a creation

[python-win32] COM Base Class and derived classes

2008-07-15 Thread Tibor Arpas
Hi, I'm new to both python and COM. I try to use the win32com.client. Many things work like a charm, but I bumped into following problem. The COM server has following hierarchy of types: Component (Base class) -Folder -Drawing -Image -Form -Script - .. The components a