I'm trying to create a v2.0 interop for a third party product. We managed to
do this achieve this with v1.1 and have been using it succesfully for a few
years now. But with v2.0 TlbImp gives the following messages (I've included
them all but I guess the last couple are the important ones). Thanks.
TlbImp : warning TI0000 : Type library importer encountered a property
getter 'UserTrackingEnabled' on type 'AbsDB.AbsOpsSession' without a valid
return type.
The importer will attempt to import this property as a method instead.
TlbImp : warning TI0000 : Type library importer has encountered a source
interface containing properties: 'AbsStringsA'.
TlbImp : warning TI0000 : Type library importer encountered a source
interface on coclass 'AbsUtilThunkMap' with a NewEnum member. This is not
supported.
TlbImp : warning TI0000 : Type 'AbsUtilThunkMap' is invalid and may only be
partially converted.
TlbImp : error TI0000 : System.SystemException - The type library importer
encountered an error during type verification. Try importing without class
members. : System.TypeLoadException - Missing definition for required runtime
implemented delegate method.
> I'm trying to create a v2.0 interop for a third party product. We managed to
> do this achieve this with v1.1 and have been using it succesfully for a few
> years now. But with v2.0 TlbImp gives the following messages (I've included
> them all but I guess the last couple are the important ones). Thanks.
I had a similar problem - it seems that the tlbimp 2.0 is stricter
regarding the allowed COM constructs. However, using a tlbimp 1.1
generated wrapper for 2.0 applications worked just fine.
Of course, you might also contact the 3rd party vendor.
Dick - 28 Apr 2006 14:52 GMT
Thanks Christian and yes, since posting, I too have found that our ealier
v1.1 interop (appears to) work just fine. And the answer from the third
party... an expensive upgrade!
> > I'm trying to create a v2.0 interop for a third party product. We managed to
> > do this achieve this with v1.1 and have been using it succesfully for a few
[quoted text clipped - 6 lines]
>
> Of course, you might also contact the 3rd party vendor.
"Peter Huang" [MSFT] - 01 May 2006 03:25 GMT
Hi Richard,
I agree with Dick's suggestion.
I think you may try to use 1.1 interop assembly for now.
If you still have any concern, please feel free to post here.
Best regards,
Peter Huang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.