Hi all,
I am trying to use a COM library from my .NET application.
I built .tlb from .idl file and run TlbImp.exe on .tlb to
produce an interoperability assembly. During conversion,
a number of warnings are issued:
...
TlbImp warning: Type IMyType is invalid and may only be
partially converted.
...
In resulting assembly all types referenced in these
warnings are incomplete, some members are missed. What is
the possible reason and how to work around the problem?
MIDL compiler says nothing about these types, so I can
guess that the problem is specific to TlbImp.exe
Thanks in advance,
Dmitry
Dmitry Shaporenkov - 15 Sep 2003 13:19 GMT
>-----Original Message-----
>Hi all,
[quoted text clipped - 17 lines]
>Dmitry
>.
It seems that the problem is caused by using certain
types as method parameters. In particular, DWORD_PTR is
definitely one of such types. Does anybody know what can
I use instead of types like DWORD_PTR to make the
interface convert?