467,077 Members | 951 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,077 developers. It's quick & easy.

Project "Simple COM Server", where?

Hi,

I'd like to write a simple COM Automation Server in C# but couldn't find a
matching project. I want to have the IDE maintain the IDL and the REG file
automatically.

Which project should I use to achieve this?

TIA,
Axel
Nov 15 '05 #1
  • viewed: 1413
Share:
2 Replies
Axel, I would probably just use a class library project type.

--
Greg Ewing [MVP]
http://www.citidc.com

"Axel Dahmen" <No****@NoOneKnows.de> wrote in message
news:uN**************@tk2msftngp13.phx.gbl...
Hi,

I'd like to write a simple COM Automation Server in C# but couldn't find a
matching project. I want to have the IDE maintain the IDL and the REG file
automatically.

Which project should I use to achieve this?

TIA,
Axel

Nov 15 '05 #2
If you really want to maintain IDL (and REG) files you will have to use VC++ and ATL, managed languages are self describing using
embedded metadata, so no IDL files needed.
It's possible to expose your managed methods to COM clients by applying the correct interop attributes, check the "COM Interop Part
2: C# Server Tutorial" chapter in the C# reference manual.

Willy.

"Axel Dahmen" <No****@NoOneKnows.de> wrote in message news:uN**************@tk2msftngp13.phx.gbl...
Hi,

I'd like to write a simple COM Automation Server in C# but couldn't find a
matching project. I want to have the IDE maintain the IDL and the REG file
automatically.

Which project should I use to achieve this?

TIA,
Axel

Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by mantas44@hotmail.com | last post: by
8 posts views Thread by Beam_Us_Up_Scotty | last post: by
5 posts views Thread by Bruce Schechter | last post: by
19 posts views Thread by Scott M. | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.