question about COM registering in VS.net / VS2005

  • Thread starter Thread starter vinny
  • Start date Start date
V

vinny

Hi there,

Just a quick question: what exactly does Visual Studio do when
registering an assembly for COM? I am looking to do this manually, but
can't seem to figure out the steps to do so.

Regards,

Vinny
 
If you are doing so you've already written some COM compatible classes.

The next steps are to:
1. Use sn.exe to create a key and give your assembly a strong name.
2. Use tlbexp.exe to generate a type library.
3. Use regasm.exe to register the assembly and use the /tlb switch to
include the type library.

If you want to do this manually there a numerous articles. Search for
"expose .NET to COM".
 

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

Back
Top