Dear list,

I'm a quite desperately trying to implement a COM server in python using 
ActiveState ActivePython 2.1. in Windows NT.

In M.Hammond, "Python Programming on Win32", O'Reilly, Jan. 2000, only the 
following way is described:
1) Write python code
2) Export it as a COM-object 
  (e.g. by win32com.server.register.RegisterServer())

It's no problem to make a little server, register it and write a client using 
the IDispatch-interface, but 
I need to implement a server, which is already specified in it's interface 
via a *.tlb or *.idl file.

At least the client application ( a commercial product ) does not recognize 
my server as a valid object, if I just expose the IDispatch-interface.
Furthermore, the interface specifications are quite voluminous, so I expect 
many typing errors / workhours to adapt my server manually to the 
specifications. Isn't there something like 'makepy' for servers?

I'd also appreciate hints, where to find more information about writing 
COM-servers in python (little bit more than the Python COM Reference, which 
comes with the package, please ;-).

I'm unfortunately not a COM expert at all, so please keep it simple! ;-)

Thanks and best regards

   Volker Siepmann
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to