COM with C#

  • Thread starter Thread starter jmmb
  • Start date Start date
J

jmmb

There is a template to create COM components with VB.NET in VS.NET, but not
in C#. Anybody know a template that I could use to do that in the same way
it`s done with VB.NET?

thanks,
 
To create a COM-callable assembly in C# (or for that matter in VB.Net), you
create a class library assembly in just the same way you'd create one to be
used only from a .Net application. Once you've created it, there are several
techniques you can use to make it available to COM clients. Look in MSDN
help under the topic "Exposing .Net Framework Components to COM" for an
exhaustive discussion of programming techniques you should use in developing
the .Net code, and of the various deployment options.

HTH,
Tom Dacon
Dacon Software Consulting
 
Back
Top