Registering 2005 dll for COM

C

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
 
M

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]
 
C

Chubbly Geezer

Works great thanks Michel


m.posseth said:
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 said:
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
 

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