By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,332 Members | 1,372 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,332 IT Pros & Developers. It's quick & easy.

.NET and COM

P: n/a
a.. When creating COM component with .NET, what would be the limitations?
Can I use try catch, constructors, destructors, etc? When running the
components on COM+, I would need .NET Framework installed on the Application
Server? Right?
b.. Why there's no COM template in C# as I have in VB.NET? What do I have
to do to obtain the same result when using the template?
thanks a lot.
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
COM is unmanage and they are not understand by .NET without a callable
wapper.. I wonder how some one going to build a COM object using .NET/C#

But .NET has Web Services

Nirosh.

"J. Marcelo Barbieri" <mb*******@bf.com.br> wrote in message
news:O8**************@TK2MSFTNGP10.phx.gbl...
a.. When creating COM component with .NET, what would be the limitations? Can I use try catch, constructors, destructors, etc? When running the
components on COM+, I would need .NET Framework installed on the Application Server? Right?
b.. Why there's no COM template in C# as I have in VB.NET? What do I have to do to obtain the same result when using the template?
thanks a lot.

Nov 13 '05 #2

P: n/a
You can simply build your component as you would like in whatever .NET
language. You can then expose it as a COM object (more or less) using
regasm.exe.
--
Dave Loynd
C# MCP, Motorcycle Racer, Organ Donor
"J. Marcelo Barbieri" <mb*******@bf.com.br> wrote in message
news:O8**************@TK2MSFTNGP10.phx.gbl...
a.. When creating COM component with .NET, what would be the limitations? Can I use try catch, constructors, destructors, etc? When running the
components on COM+, I would need .NET Framework installed on the Application Server? Right?
b.. Why there's no COM template in C# as I have in VB.NET? What do I have to do to obtain the same result when using the template?
thanks a lot.

Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.