?
Solved

What replaced COM interface?

Posted on 2011-09-07
4
Medium Priority
?
311 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
zvytas earned 1000 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 1000 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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

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…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

770 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