Thomas Heller schrieb:
> Roman Yakovenko schrieb:
>> Good morning.
>> 
>> I got error while calling comtypes.client.GetModule function.
[...]
> The msdia71.dll typelibrary is buggy.  The microsoft oleview utility, for 
> example,
> decompiles an idl file which contains these snippets:
[...]
> 
> What can you do?  There are several options:
> - fix the generated Python code manually:  replace the parameter declarations 
> by valid ones
> - try to compile a tlb yourself from the dia2.idl file that is also provided 
> (I tried this
>   but the compiler did not find a cvconst.h file that is imported by this 
> idl).

Seems I answered too soon.

I found the cvconst.h file, and compiling dia2.idl resulted in a typelib with 
the same problems
that you described.  I have to investigate this further.

Thomas


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to