[python-win32] issues with win32com constants and static/dynamic dispatch

2007-07-04 Thread Jason Ferrara
I'm trying to use a COM library from python. If I use dynamic dispatch, the com objects all behave correctly, but the constants defined in the COM library don't show up. If I use static dispatch, the constants show up, but COM objects returned by calls into the COM library seem broken. As

Re: [python-win32] issues with win32com constants and static/dynamic dispatch

2007-07-04 Thread Jason Ferrara
On Jul 4, 2007, at 11:20 AM, Simon Dahlbacka wrote: my best guess is that you should be using .ProductName (capital p) as static dispatch is case sensitive.. /S Thats not it. productName is the correct case. And also.. >>> print c >>> dir(c) ['QueryInterface', '__class__', '__cmp__',

Re: [python-win32] issues with win32com constants and static/dynamic dispatch

2007-07-04 Thread Simon Dahlbacka
my best guess is that you should be using .ProductName (capital p) as static dispatch is case sensitive.. /S On 7/4/07, Jason Ferrara <[EMAIL PROTECTED]> wrote: I'm trying to use a COM library from python. If I use dynamic dispatch, the com objects all behave correctly, but the constants defi