using com+ in .net

D

Deleo

Hello, i still have my snmp in .net problem. But i thought i would write the
snmp program in c++ and make a COM.
Now i want to be able to use that COM in .net C# so i thought about using
the COM+

Can i easily implement a COM+ in .NET? how do i do that or where can i learn
about that.....I really need to use snmp in my C# program.

Thank you :)
 
G

Guest

Samples of using COM is here http://samples.gotdotnet.com/quickstart/howto/
(Interoperability section)
What's the problem with COM+? .NET has namespace EnterpriseServices that
incorporates classes to build COM+ components

Deleo said:
Hello, i still have my snmp in .net problem. But i thought i would write the
snmp program in c++ and make a COM.
Now i want to be able to use that COM in .net C# so i thought about using
the COM+

Can i easily implement a COM+ in .NET? how do i do that or where can i learn
about that.....I really need to use snmp in my C# program.
--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
N

Nicholas Paldino [.NET/C# MVP]

Deleo,

You can consume COM+ services in .NET, but I don't think that is what
you want. Rather, you want to create a regular COM component and then set a
reference to it in your project.

Hope this helps.
 
M

Mark Rae

Hello, i still have my snmp in .net problem. But i thought i would write
the snmp program in c++ and make a COM.
Now i want to be able to use that COM in .net C# so i thought about using
the COM+

Can i easily implement a COM+ in .NET? how do i do that or where can i
learn about that.....I really need to use snmp in my C# program.

Hmm - do you mean COM or COM+?

..NET will work with a (properly registered) COM component through InterOp,
and a COM+ component through the EnterpriseServices namespace...

Neither should present any problems...
 
D

Deleo

thank you all for your answeres :)
I thought about using regulare COM and I think i will try that first to see
how it goes.
But COM+ has some nice advantages that COM doesnt have, so I will try that
out too after the COM to check out the differences :)

Again thank you for your quick response.
 
T

TerryFei

Hi Deleo,
Welcome to MSDN Newsgroup!

I hope the following article is helpful for you:
Title: Creating COM+ Objects using EnterpriseServices in .NET
URL: http://www.codeproject.com/csharp/estransactions.asp

Title: COM+ and .NET - A practical approach - Part 1
URL: http://www.codeproject.com/dotnet/complusnetpracticalapp01.asp

I hope the above information is helpful for you. Thanks and have a nice day!

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
 

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

Top