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
1
vote
3 answers

Accessing Elements from Other Processes

I would like to “read” information from a window not related to my program. If I have a process ID and a window handle: Process Proc = Process.GetProcessById(ProcID); IntPtr hdl = Proc.MainWindowHandle; And I have information from spy++ telling me…
Daro
  • 1,990
  • 2
  • 16
  • 22
0
votes
2 answers

Excel Add-In sharing memory between Class Libraries

Environment : C#, .NET 3.5 , Windows 7 64, Excel 2007, Visual Studio 2010 I have a VS2010 with 3 projects : Projet « Business » : A class library with a global static variable List Project « Add-In » : Extensibility Shared Add-in…
Jean-Marie
  • 297
  • 3
  • 14
0
votes
2 answers

Simplest way to send messages between Matlab, VB6 and VB.NET programs

We are upgrading a suite of data acquisition and analysis routines from VB6 programs to a mixture of VB.NET, VB6, and Matlab programs. We want to keep the system modular (separate EXEs) so we can easily create specialized stand-alone analysis…
Ben
0
votes
1 answer

Get currently open document and page in view for Adobe Reader instance

My app needs to know what is the document currently opened in adobe reader, and what is the current page in view. Is it possible to find that out? My app is .net application, an runs with admin privileges.
Maxim V. Pavlov
  • 10,303
  • 17
  • 74
  • 174
0
votes
0 answers

How to find out and undo encoding/data structure of log files?

I have to analyze log files of a software which has run out of support (the software provider has ceased) to trace down an issue. Unfortunately, the log data is not stored in plain (human-readable) text and there exists no documentation on how to…
ExpressEdU
  • 11
  • 5
0
votes
0 answers

Nim osproc.startProcess input/output out of sync

I'm using startProcess to communicate with a standalone module, but the input to and output from the module is out of sync with the calling program that catches the output. I expect this: Process…
IvanS
  • 31
  • 4
0
votes
1 answer

The difference between redirection with and without exec

Anyone clarify what the definitive difference between: 3<&0 and exec 3<&0 of bash or other akin shell? thanks before
user20151238
0
votes
0 answers

Send commands to external Windows Media Player application using C#

I want to control the external running Windows Media Player application using C#. For example, I want to send the play or pause command to the process of the running exe-file "%ProgramFiles(x86)%\Windows Media Player\wmplayer.exe", which was started…
user3570134
  • 109
  • 8
0
votes
0 answers

How to provide access to program data to an externally-spawned python instance?

I have a program written in C that manipulates FITS images. The images are stored as an array of floats and there is some associated metadata (image dimensions but also other FITS metadata). What I'm interested in doing is adding a capability to use…
Adrian K-B.
  • 99
  • 1
  • 8
0
votes
1 answer

Producer consumer using boost::interprocess_confition with boost:interprocess shared memory. Consumer dominates 100%

Just making a simple example because I am having issues with a more complex usecase and want to udnerstand the base case before spending too much time in trial and error. Scenario: I have two binaries that supposedly takes turns incrementing a…
Serj
  • 51
  • 1
  • 6
0
votes
0 answers

Capture Serilog logging from subprocess

We may want a process to be able to capture Serilog output from a subprocess in realtime, to include it in the master process' own Serilog log. We would want to capture the full structured log objects, not just some rendered string. How would I do…
Kjell Rilbe
  • 1,331
  • 14
  • 39
0
votes
0 answers

Node.js package importation failure (node-ipc)

I am trying to learn inter-process communication using node.js, specifically the @achrinza/node-ipc package. I installed the package and downloaded this example here. However on trying to run the example, node threw an error. The first error I got…
Ian K
  • 91
  • 4
0
votes
2 answers

How can I execute a function in a running python app from another python file with arguments?

I want to have a python application (app1) running that loads a bunch of data and functionality on start-up that I will use many many times. To avoid having to restart the application and re-load all that I would like to simply call a function…
FLOROID
  • 13
  • 6
0
votes
0 answers

Embed a control of a running process into a wpf window

Currently, I have a WPF application (.NET Framework 4.7.2) that references 3rd party assemblies containing WinForms controls (.NET Framework 4.7.2). The WPF application utilizes some of those WinForms controls in its user interface. This is achieved…
ackh
  • 1,648
  • 2
  • 18
  • 36
0
votes
3 answers

Problems with starting a program + DLL multiple times in Windows XP?

We develop a network library that uses TCP and UDP sockets. This DLL is used by a testclient, which is started multiple times at the same PC for a load test. In Windows Vista, it is no problem to start the testclient many times. In Windows XP,…
Tarnschaf
  • 3,955
  • 1
  • 26
  • 36