Home All Groups Group Topic Archive Search About

using /namespace with tlbimp.

Author
13 Apr 2006 12:53 PM
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

Author
13 Apr 2006 2:33 PM
Marcus Heege
Hi Farrukh

"Farrukh" <4uo***@gmail.com> wrote in message
news:uLnERkvXGHA.4684@TK2MSFTNGP03.phx.gbl...
> 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
Author
20 Apr 2006 8:09 AM
Farrukh
Hi Marcus.

Thanks a lot for reply.

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

Thanks
Farrukh

Show quote
"Marcus Heege" <NOSPAM@heege.net> wrote in message
news:%23LcbCdwXGHA.3808@TK2MSFTNGP04.phx.gbl...
> Hi Farrukh
>
> "Farrukh" <4uo***@gmail.com> wrote in message
> news:uLnERkvXGHA.4684@TK2MSFTNGP03.phx.gbl...
>> 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
>

AddThis Social Bookmark Button