Questions tagged [interprocess]

A capability supported by some operating systems that allows one process to communicate with another process. The processes can be running on the same computer or on different computers connected through a network. It enables one application to control another application, and for several applications to share the same data without interfering with one another.

412 questions
7
votes
3 answers

In-Proc COM object sharing across another Process

Before I ask this question I would like to make it clear that I know there are libraries and techniques for Inter process communcation. This though, is a learning question about COM. I also do know about out-of-proc servers but that's not what I am…
ActiveX
  • 1,064
  • 1
  • 17
  • 37
7
votes
3 answers

Snoop interprocess communications

Has anyone tried to create a log file of interprocess communications? Could someone give me a little advice on the best way to achieve this?
Patrick
  • 71
  • 1
7
votes
2 answers

Equivalent of Windows's named mutex in Mac OS X?

Currently I'm porting a software from Windows to Mac OS X in C++. In Windows, there's an abandoned state in global named mutex which means that current owner process of the mutex is gone without releasing the mutex. (It will likely be caused by…
Aki24x
  • 1,058
  • 1
  • 13
  • 28
7
votes
1 answer

Receive WM_COPYDATA struct in WPF or Console C# app

I am writing a C# application that needs to communicate with another application written in native C. So far I have figured out how to send messages from my C# app to the C app with the User32.dll SendMessage. However I am unable to figure out how…
Phil
  • 6,561
  • 4
  • 44
  • 69
7
votes
1 answer

Passing data from a C process to a C++ process

This is my first time posting a question here, I usually find answers in the archive but I'm stumped this time. I'm grabbing data off of a joystick using some code from the vendor that uses Windows Driver Kit. The data is in the form of an array…
Airuno2L
  • 187
  • 7
6
votes
8 answers

What is the best way to do application data exchange in Delphi without sockets?

I need a few of my related applications to communicate to each other (exchange data and initiate actions). Requirements are without packages and no sockets. So I guess that leaves named pipes, WM_CopyData (like Skype does it) and command parameters.…
Mihaela
  • 2,482
  • 3
  • 21
  • 27
6
votes
2 answers

Boost, Shared Memory and Vectors

I need to share a stack of strings between processes (possibly more complex objects in the future). I've decided to use boost::interprocess but I can't get it to work. I'm sure it's because I'm not understanding something. I followed their…
Budric
  • 3,599
  • 8
  • 35
  • 38
6
votes
2 answers

C++ application: Is it possible to pass accepted TCP connection from one process to another?

So I wonder - is it possible to pass accepted TCP connection (on Windows or Unix like OS) from one process to another? Here the point is to pass connection - not data in a way a proxy app would.
Rella
  • 65,003
  • 109
  • 363
  • 636
6
votes
3 answers

Android Remote methods (AIDL) vs Intents - performance & battery usage

My team is working on an Android project which consists of several Android applications which exchange data (on the same phone). The idea is to have several applications which are collecting some data and send this data to the main application. The…
eold
  • 5,972
  • 11
  • 56
  • 75
6
votes
5 answers

How can I marshal an out-of-process COM reference across process boundaries?

I have an out-of-process COM server that needs to keep an eye on things. This server runs as a service and is, internally, a singleton. For simplicity sake, I will call him BossCom. I have another out-of-process COM server that is a worker. It…
Jere.Jones
  • 9,915
  • 5
  • 35
  • 38
6
votes
1 answer

Redirect FFMPEG's output to multiple named pipes on Windows

I am trying to stream video and audio data into two separate named pipes on Windows. ffmpeg.exe -f dshow -i video="My camera name":audio="My microphone name" -map 0:1 -ac 1 -f f32le \\.\pipe\audioStream -map 0:0 -f mjpeg \\.\pipe\videoStream The…
tearvisus
  • 2,013
  • 2
  • 15
  • 32
6
votes
1 answer

How to Use C# to Call a Function Within a Seperate Running Native Process?

Can you use C# to call a function inside of another running process that is written in C/C++? I know you can do this using C++ by injecting a DLL that starts a remote thread, listens for associated key-presses, and makes a call to the desired…
6
votes
4 answers

Should I use CORBA, MessagePack RPC or Thrift, or something else entirely?

I'm writing software for a new hardware device which I want any kind of new third-party application to be able to access if they want to. The software will be a native process (C++) that should be pollable by 3rd party games and applications that…
Navigateur
  • 1,852
  • 3
  • 23
  • 39
6
votes
2 answers

How to implement a writer-preferring read/write lock for *nix processes

There is a Unix function called flock() that processes can use to obtain either shared ("read") access or exclusive ("write") access to a resource. The problem is that it starves those processes that are requesting exclusive access. Such a request…
Chap
  • 3,649
  • 2
  • 46
  • 84
6
votes
1 answer

Using C++ Boost memory mapped files to create disk-back data structures

I have been looking into using Boost.Interprocess to create a disk-backed data structure. The examples on Boost Documentation (http://www.boost.org/doc/libs/1_41_0/doc/html/interprocess.html) are all for using shared memory even though they mention…
kvs
  • 95
  • 1
  • 7
1 2
3
27 28