Home All Groups Group Topic Archive Search About

Registering 2005 dll for COM

Author
15 Feb 2006 9:31 AM
Chubbly Geezer
I am trying to register a 2005 created dll for use with COM.

In .Net I would install the dll and then use regasm.  This does not seem to
be the case in 2005.

Any ideas would be appreciated.

Chubbly

Author
15 Feb 2006 10:01 AM
m.posseth
i had this problem to ...

untill i discovered i used the regasm of the 1.1 framework :-)


so use the regasm from the framework 2.0 directory and it should work as
normall


i just copy the regasm.exe to the directory where my assembly is located
and use these 2 batch files

REGASM yourname.dll /verbose
pause
(save as reg.bat)

when i am finished testing i like to keep my registry as clean as possible
and use this

REGASM /u yourname.dll /tlb:yourname.tlb
pause

regards

Michel Posseth [MCP]



Show quoteHide quote
"Chubbly Geezer" <chubbly_geezer@newsgroup.nospam> wrote in message
news:OFYykKhMGHA.964@tk2msftngp13.phx.gbl...
>I am trying to register a 2005 created dll for use with COM.
>
> In .Net I would install the dll and then use regasm.  This does not seem
> to be the case in 2005.
>
> Any ideas would be appreciated.
>
> Chubbly
>
Author
15 Feb 2006 10:56 AM
Chubbly Geezer
Works great thanks Michel


Show quoteHide quote
"m.posseth" <mich***@nohausystems.nl> wrote in message
news:%23EEpAbhMGHA.344@TK2MSFTNGP11.phx.gbl...
>i had this problem to ...
>
> untill i discovered i used the regasm of the 1.1 framework :-)
>
>
> so use the regasm from the framework 2.0 directory and it should work as
> normall
>
>
> i just copy the regasm.exe to the directory where my assembly is located
> and use these 2 batch files
>
> REGASM yourname.dll /verbose
> pause
> (save as reg.bat)
>
> when i am finished testing i like to keep my registry as clean as possible
> and use this
>
> REGASM /u yourname.dll /tlb:yourname.tlb
> pause
>
> regards
>
> Michel Posseth [MCP]
>
>
>
> "Chubbly Geezer" <chubbly_geezer@newsgroup.nospam> wrote in message
> news:OFYykKhMGHA.964@tk2msftngp13.phx.gbl...
>>I am trying to register a 2005 created dll for use with COM.
>>
>> In .Net I would install the dll and then use regasm.  This does not seem
>> to be the case in 2005.
>>
>> Any ideas would be appreciated.
>>
>> Chubbly
>>
>
>