2 Replies - 437 Views - Last Post: 11 January 2018 - 04:22 PM Rate Topic: -----

#1 Bradwin   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 10-January 18

what is the best way to setup an API on a local windows machine?

Posted 10 January 2018 - 08:12 PM

I am trying to develop a Windows executable that provides an API type interface to another program running on the same windows machine. My program would be communicating to a Bluetooth device mapped onto a serial port, and providing some data services to the other program. This other program would be developed by various customers, so the interface needs to be generic.

Any suggestions on what I could use to do this kind of a job?
Is This A Good Question/Topic? 0
  • +

Replies To: what is the best way to setup an API on a local windows machine?

#2 Martyr2   User is offline

  • Programming Theoretician
  • member icon

Reputation: 5238
  • View blog
  • Posts: 14,031
  • Joined: 18-April 07

Re: what is the best way to setup an API on a local windows machine?

Posted 11 January 2018 - 11:43 AM

Possibly named pipes will work for you?

https://msdn.microso...0(v=vs.85).aspx

In this case you can have your own two way communication between processes and establish whatever communication protocol you want. The beauty is that you can use your existing visual studio tools since it is built right in for .NET. Example links for you (one internal and one network)...

https://docs.microso...s-communication
https://docs.microso...s-communication

Hopefully this is thinking along the right lines of what you need.

This post has been edited by Martyr2: 11 January 2018 - 11:45 AM

Was This Post Helpful? 0
  • +
  • -

#3 Bradwin   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 10-January 18

Re: what is the best way to setup an API on a local windows machine?

Posted 11 January 2018 - 04:22 PM

Thanks, I will dive into that and see, Appreciate the advice!

This post has been edited by andrewsw: 12 January 2018 - 12:15 AM
Reason for edit:: Removed previous quote, just press REPLY

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1