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
0
votes
1 answer

Determine IE window current URL programmatically without BHO

Could someone guide me in the direction of how I would determine IE's current URL programmatically without a BHO? The only way I have been able to think of accomplishing this sort of functionality is by looking at the title for the window rather…
Maxim Gershkovich
  • 45,951
  • 44
  • 147
  • 243
0
votes
1 answer

how can I access and try parse clipboard data from other applications, like MS Word or Visual Studio?

I understand that developers of 3rd party apps don't necessarily want me to access their clipboard data beyond, in the best case, a text summary like what I get when pasting from Word to Notepad. Nevertheless, suppose I want to grab the underlying…
EndangeringSpecies
  • 1,564
  • 1
  • 17
  • 39
0
votes
1 answer

In which context can pointer swizzling be used?

I just learned about pointer swizzling and I am quite unsure of the actual use of it. For example, let's say I have a Windows service serializing an object containing pointers using some kind of pointer swizzling and then deserializing it in a…
Norgannon
  • 487
  • 4
  • 16
0
votes
2 answers

Controlling a C daemon from another program

I'm trying to control a C daemon program from another userspace program. - Simple C daemon This daemon is simply a C program which daemonize itself and log a message every second through syslog. #include #include #include…
Arkaik
  • 852
  • 2
  • 19
  • 39
0
votes
2 answers

passing a Bluetooth connection to a new Activity

I have an application that contains a main Activity, which has a very simple screen with all application setup options and a few user selections. The main screen buttons start other Activities. (1) I'm now implementing a bluetooth scanner into the…
moonlightcheese
  • 10,664
  • 9
  • 49
  • 75
0
votes
0 answers

Stop child process repeating output without killing

I have a parent process that receives user-input that can create child processes and then with further input, manipulate individual child processes. What should be printing is the following: New Locker Created: 1 New Locker Created: 2 New Locker…
Hews
  • 569
  • 6
  • 19
0
votes
0 answers

Interprocess communication and data sharing

I have Programm A (written in C++/Qt) and a Programm B (Java)[it starts Program A]. Everyone has the pid of the other. Now I need to implement a sharing of Informations and methods. But I don't know what the best solution can be. This will be a…
Panakotta00
  • 135
  • 9
0
votes
1 answer

Boost Interprocess cannot find boost/config/user.hpp

I am compiling a Boost Interprocess example: #include #include #include #include #include int main(int argc, char *argv[]) { using namespace…
user997112
  • 29,025
  • 43
  • 182
  • 361
0
votes
2 answers

How to print out the value that subprocess prints with C#?

As is asked in this post, I can use Python's subprocess.Popen() function to print out the value from running ruby's code. import subprocess import sys cmd = ["ruby", "/Users/smcho/Desktop/testit.rb"] p = subprocess.Popen(cmd,…
prosseek
  • 182,215
  • 215
  • 566
  • 871
0
votes
1 answer

boost c++ offset pointers in memory mapped files

I want to implement a memory mapped file. With reference to: http://www.boost.org/doc/libs/1_66_0/doc/html/interprocess/sharedmemorybetweenprocesses.html#interprocess.sharedmemorybetweenprocesses.mapped_file! i now understand the basics of memory…
Jay Ghiya
  • 424
  • 5
  • 16
0
votes
1 answer

interprocess synchronization on windows

Can anyone share some links or its own experience on the interprocess synchronization on windows. I run more instances of my program (each having 1 Thread) and want to synchronize them. I read bunch of functions related to it link, none seems to…
0
votes
1 answer

Inter-process file locking in Java

I haven't found anything specific, only threads like that, which doesn't show the implementation. I need to create a file lock shared between two or more processes(not threads!). I need to read/write in a file in one process and guarantee that no…
MrGrzyboo
  • 77
  • 8
0
votes
0 answers

Correct way to synchronize multiple processes that share resource and may affect each other's behavior

I am currently working on design of the embedded system running FreeRTOS. At this moment I have 3 separate processes, and each of that processes controls it's dedicated hardware. And all these hardware works with the RF field, consequently those 3…
0
votes
1 answer

Sigaction doesnt work

I am learning about signals and wrote a simple programs that plays with them. So i am inputting a number then using fork i create a process.The parent process is supposed to send the number as a signal to the child process,then the child_signal…
0
votes
1 answer

Boost: is it any how possible to start a process and run a function in it?

My main point is that let's say we create our main function of our app which lies in one project file. We have some static function in it like one with cout << "Hello!";. We want boost to create a process for us and run that function in it. Is such…
Rella
  • 65,003
  • 109
  • 363
  • 636