[python-win32] COM Server and TypeLibraries.obj._oleobj_.GetTypeInfoCount() = 0?

Mark Hammond mhammond at skippinet.com.au
Thu Aug 12 08:53:14 CEST 2004


> I am working on making a python COM server work with Labview which
> requires the type libraries for the IDispatch interface...
> Granted... at
> the moment I'm not even able to have Makepy run on my
> objects.  It blows
> up as shown below.

> ** I get a PyITypeInfo object back.  So what is the deal.
> What is not in
> the Pippo COM server which causes this failure?  I've
> registered the type
> libraries.. in fact below I've attached the .IDL file that
> oleview dumps.
>
> I'm rather stumped at this point.  Any advice is much apprieached.  I
> realize that Python COM servers have come up in the past on this list
> which use type libraries and I've gone over the messages...
> but I must be
> missing something.
>
> It seems like the object is not associating the type library with the
> application?

You are correct - the typelib is not associated.  Mainly as I just didn't
think of it at the time :)  I'll attach an update in private mail that at
least makes things work for pippo.

Mark.



More information about the Python-win32 mailing list