Subclassing a win32com.client.Dispatch() Object?

rcspython at yahoo.com rcspython at yahoo.com
Tue Aug 14 15:12:32 EDT 2001


Can this be done usign win32com?
I have win32com.client.DispatchWithEvents("ACOMCLASS",ANEVENTCLASS)

I need something like 

class myclass(?????):#What values are used for ?????
  def __init__(????):
    #What code goes here?

myobj = myclass(win32com.client.DispatchWithEvents
("ACOMCLASS",ANEVENTCLASS))

Or something like this...

I have tried everything I can think of with no luck.
I'm sure I am making a stupid mistake and would appreciate any
help.

Cheers!
Ron





More information about the Python-list mailing list