HighTechTalks DotNet Forums  

using /namespace with tlbimp.

Dotnet Framework microsoft.public.dotnet.framework


Discuss using /namespace with tlbimp. in the Dotnet Framework forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Farrukh
 
Posts: n/a

Default using /namespace with tlbimp. - 04-13-2006 , 07:53 AM






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



Reply With Quote
  #2  
Old   
Marcus Heege
 
Posts: n/a

Default Re: using /namespace with tlbimp. - 04-13-2006 , 09:33 AM






Hi Farrukh

"Farrukh" <4uonly (AT) gmail (DOT) com> wrote

Quote:
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




Reply With Quote
  #3  
Old   
Farrukh
 
Posts: n/a

Default Re: using /namespace with tlbimp. - 04-20-2006 , 03:09 AM



Hi Marcus.

Thanks a lot for reply.

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

Thanks
Farrukh

"Marcus Heege" <NOSPAM (AT) heege (DOT) net> wrote

Quote:
Hi Farrukh

"Farrukh" <4uonly (AT) gmail (DOT) com> wrote in message
news:uLnERkvXGHA.4684 (AT) TK2MSFTNGP03 (DOT) 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




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.