using /namespace with tlbimp.

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
 
M

Marcus Heege

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
 
F

Farrukh

Hi Marcus.

Thanks a lot for reply.

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

Thanks
Farrukh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top