Hi,
I think you use the /R option somewhat incorrectly. Try this:
tlbimp module1.dll /OUT:module1.tlb.dll /NAMESPACE:MyModule1
tlbimp module2.dll /OUT:module2.tlb.dll /REF:module1.dll

Signature
Regards,
Dmytro Lapshyn [MVP]
http://blogs.vbcity.com/DmytroL
> Hi,
>
[quoted text clipped - 19 lines]
>
> Thanks!
netquirer@gmail.com - 27 Jul 2006 14:11 GMT
Thanks for the reply-
Sorry, I mistyped my command line a bit. It should read:
tlbimp module1.TLB /OUT:module1.tlb.dll /NAMESPACE:MyModule1
tlbimp module2.TLB /OUT:module2.tlb.dll /REF:module1.tlb.dll
So module1.tlb.dll is actually a RCW dll generated from a type library.
Isn't this the correct input for the /REF arg?
I don't particularly understand the "type library" error message, since
/REF imports an assembly, not a type lib.
> Hi,
>
[quoted text clipped - 31 lines]
> >
> > Thanks!
Dmytro Lapshyn [MVP] - 28 Jul 2006 07:46 GMT
Hmm...can it be that the type libraries are not properly registered on the
machine that gives you trouble?
Is "IMyInterface" 100% defined in Module1?
Try to remove the /NAMESPACE option.

Signature
Regards,
Dmytro Lapshyn [MVP]
http://blogs.vbcity.com/DmytroL
> Thanks for the reply-
>
[quoted text clipped - 44 lines]
>> >
>> > Thanks!
netquirer@gmail.com - 31 Jul 2006 16:00 GMT
Yes, the interface is 100% defined.
So that I can understand tlbimp a little better, can you please explain
why the TLB needs to be registered? Doesn't the RCW module1.tlb.dll
already have all of the type information needed by module2.tlb.dll? I
specifically don't want to rely on registration of these files.
Also, can you explain why using a namespace would matter?
Thanks!
> Hmm...can it be that the type libraries are not properly registered on the
> machine that gives you trouble?
[quoted text clipped - 54 lines]
> >> >
> >> > Thanks!