using /namespace with tlbimp.

  • Thread starter Thread starter Farrukh
  • Start date Start date
F

Farrukh

Hi
I want some information regarding /namespace switch. Is this the name of
Namespace of the source code where our COM dll is referenced for which we
will generate Interop.dll or is this some variable string or what?

Thanks in advance.
Best regards
Farrukh
 
Hi Farrukh

Farrukh said:
Hi
I want some information regarding /namespace switch. Is this the name of
Namespace of the source code where our COM dll is referenced for which we
will generate Interop.dll or is this some variable string or what?

Thanks in advance.
Best regards
Farrukh

Using the tlbimp /namespace switch, you can control the namespace in which
the interop typeinfo is generated.

Create a simple interop assembly with the command line below and check it
with ILDASM

tlbimp /Namespace:Hamster \WINDOWS\system32\msxml.dll


Marcus Heege
 
Hi Marcus.

Thanks a lot for reply.

Yes, I got it. It is something like you exampled.

Thanks
Farrukh
 
Back
Top