Thanks very much Mark, pippo_server.py was exactly what I needed.
I was missing defining the _typelib_guid_, _typelib_version_,
_com_interfaces_ and then registering the type library with
pythoncom.LoadTypeLib and pythoncom.RegisterTypeLib.
VB doesn't complain now, all seems working fine, and wit
You should probably check out the "pippo" examples in the win32com\test
directory for an example of associating the python COM object with the
typelib.
HTH,
Mark
On 16/12/2010 12:08 PM, Mariano Reingart wrote:
Hello
I'm trying to create a type library (TLB) using MIDL.EXE for a
PythonCom se
Hello
I'm trying to create a type library (TLB) using MIDL.EXE for a
PythonCom server, but I don't fully understand the brief MSDN
ducumentation:
http://msdn.microsoft.com/en-us/library/ms690150(v=VS.85).aspx
I've been able to create the TLB file, but when using it in VB, I get
a Run-time error '