Solved

What replaced COM interface?

Posted on 2011-09-07
4
282 Views
Last Modified: 2012-05-12
I think the COM interface is obsolete, and has been replaced by something else better available to C#.

I need something like the COM interface iTunes has. With iTunes I can access it with an external program, make queries and requests.

I'm writing a C# program and need to offer that ability for an external program to make queries and requests. (e.g. "what's this value?" "Please do this.") What sort of interface is the new thing?
0
Comment
Question by:deleyd
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
zvytas earned 250 total points
ID: 36496725
WCF would be the best option.
0
 

Author Comment

by:deleyd
ID: 36497024
OK I'll go with that. Is there any subset I should focus on? This will be for a Windows Forms program with another program on the same computer that wants to 'talk' to my Windows Forms program.

(I see WCF is about all sorts of communication, like web based, network stuff I'm not doing.)
0
 
LVL 6

Assisted Solution

by:Rhino1272
Rhino1272 earned 250 total points
ID: 36498072
I think you will want to focus on using the NetTcpBinding .
0
 

Author Comment

by:deleyd
ID: 36498390
Thank you. Turns out I was unfortunately wrong about what I'll be communicating with. It's actually going to be a cell phone over Bluetooth. Someone else is choosing the cell phone, I've no idea what operating system the cell phone might have, just heard it was Bluetooth.

So is SOAP what I should be looking into? I see here my thick book on C# says:
For platform-independent communication, the SOAP protocol can be used and is directly supported from WCF

Again all we want to do is transmit simple messages like "Here's a number." "Please do this."

I don't know anything about Bluetooth or what communicating via Bluetooth might entail. (Don't even own one myself.)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now