Re: [python-win32] Problem with TLB file and COM

2008-07-24 Thread Reedick, Andrew
-Original Message- From: Mark Hammond [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 9:25 PM To: Reedick, Andrew; python-win32@python.org Subject: RE: [python-win32] Problem with TLB file and COM from win32com.client import gencache mod = gencache.EnsureModule

[python-win32] Problem with TLB file and COM

2008-07-23 Thread Reedick, Andrew
I'm having trouble with a COM object for which none of its methods are available at runtime. The COM class is defined in a tlb file. I used makepy -i, added the gencache lines to the program, and can see the methods in the generated file. However, when I try to call any method, it blows up with

Re: [python-win32] Problem with TLB file and COM

2008-07-23 Thread Mark Hammond
Sent: Thursday, 24 July 2008 12:42 AM To: python-win32@python.org Subject: [python-win32] Problem with TLB file and COM I'm having trouble with a COM object for which none of its methods are available at runtime. The COM class is defined in a tlb file. I used makepy -i, added the gencache