Reputation: 9479
In Visual Studio, how do I write a COM object from scratch? There does not seem to be a new project option for a com object.
Upvotes: 0
Views: 975
Reputation: 1032
Xarzu - It would be helpful to know what you're looking to do. If you're looking to build a component that can take advantage of Windows server features such as transactions, object pooling, security or queuing services, you can get by with a COM+ application (which would be written as a C# library application).
If you're diving deeper and not leveraging Windows enterprise services, you're going to be dealing with Visual C++, as Aamir mentioned.
Just wanted to make sure that the right question is getting answered for you.
Upvotes: 1
Reputation: 15556
You have to go to Other Languages -> Visual C++ -> ATL Project
to write a COM object.
Upvotes: 1