Solved

What replaced COM interface?

Posted on 2011-09-07
4
306 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 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

717 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