What have you used sysv/posix message queues for ?
I've never seen any project or anything utilizing posix or sysv message queues - and being curious, what problems or projects have you guys used them for ? ...
I've never seen any project or anything utilizing posix or sysv message queues - and being curious, what problems or projects have you guys used them for ? ...
I am working a much more complex version of this (with vehicle moving in both X and Y directions) I made this example to get ideas on better ways to accomplish this. I have a vehicle moving in the X direction at a speed (24.5872 mps) I am simulating this by incrementing the X value every 100 ms using an executor (To keep its X positio...
For my application, I need to have a central process responsible for interacting with many client processes. The client processes need a way to identify and communicate with the central process. Additionally, the central process may not be running, and the client process needs a way to identify that fact. This application will be running...
In Linux, a lot of IPC is done by appending to a file in 1 process and reading the new content from another process. I want to do the above in Windows/.NET (Too messy to use normal IPC such as pipes). I'm appending to a file from a Python process, and I want to read the changes and ONLY the changes each time FileSystemWatcher reports an...
I notice this thread: Fastish Python/Jython IPC, and I have a similar problem, but in different language. I have a Java front-end and a C++ back-end, which I am thinking about rewrite it in Python in some near future. What will be the best IPC? I prefer socket to HTTP, as I am trying to avoid the HTTP overhead. And XML-RPC is an example...
I have been experimenting with Sending Messages from 2 .NET Winform applications using WM_COPYDATA .. works great. What I would like to know is if that can be accomplished with Console applications. After all the SendMessage function takes in a window handle, so how can I get the window handle of a console application ? [DllImport("Us...
I'm writing an app that will basically be like Fraps, but it will push video frames as a DirectShow Capture Source. This will make it easy to stream games on websites like ustream, justin.tv, etc. I'm wondering what the best way to do the interprocess communication would be. Speed is very important. Right now I have a dll that is injecte...
Hello, I am developing a very basic windows service in C#. Apart from the service I also need to develop a program which will be used to set various parameters for the service. As the service and program will be running in different processed by different users how do I tell the service that parameters have changed? One way that I am ...
Hi I am trying to run a service under a different user account from the application that will access the service via remoting. While under the same account everything is fine, but as soon as I use different accounts, I get an access denied error while trying to open the IPC port. Is there something I am missing, as I can't see from th...
I'm working on what should (hopefully) be a small feature for a .NET software solution that will allow one application to report on the status of multiple instances of another application running on more than one computer on the same network. I took a look at this MSDN article on named pipes, and set up a simple client/server project th...
In ANSI C on Windows what is the best/easiest way to transfer data between two programs running locally without needing to write/read from a file? Data will be basic text and only one program will be sending and the other receiving. Thanks. ...
Hello all I need to call from my code for some other program . And I need to wait till it finishes (synchronous call). How I can do so ? Thanks, a lot. ...
I have a ksh script that calls a Perl program. The Perl program creates some important data that the ksh script needs to act on. Example: My ksh program: #!/usr/bin/ksh abc.pl > $logFile # perl pgm creates variable $importantData See below. # HOW DO I GET THE .KSH SCRIPT TO SEE $importantData ??? def.ksh $importantData # send impo...
Our current app runs in a single JVM. We are now splitting up the app into separate logical services where each service runs in its own JVM. The split is being done to allow a single service to be modified and deployed without impacting the entire system. This reduces the need to QA the entire system - just need to QA the interaction ...
I wish to send text between processes. I have found lots of examples of this but none that I can get working. Here is what I have so far: for the sending part: COPYDATASTRUCT CDS; CDS.dwData = 1; CDS.cbData = 8; CDS.lpData = NULL; SendMessage(hwnd, WM_COPYDATA , (WPARAM)hwnd, (LPARAM) (LPVOID) &CDS); the receiving part: case WM_COPY...
I found "Delphi Inter Process Communication (IPC) using SendMessage" with Google. Here's a piece of the code from Sender to send a message for Receiver : procedure TfrmClient.FormCreate(Sender: TObject); begin MyMsg := RegisterWindowMessage('MyMessage'); ServerApplicationHandle := FindWindow('TApplication', 'Project1'); end; The ...
Hi I have an application App1 which defines class A and uses instances of this class. What I want to achieve is - after App1 is installed on the device to be able to load App2 which defines and implements class B which is subclass of class A (imported from App1 package); and be able to get an instance of class B in the App1. Class B doe...
What are all the differences between pipes and message queues? Please explain both from vxworks & unix perspectives. I think pipes are unidirectional but message queues aren't. But don't pipes internally use message queues, then how come pipes are unidirectional but message queues are not? What are the other differences you can think...
This is my question and apparently this is the answer. Turns out it was a buffer problem (solution in the accepted answer of my ffmpeg link) not stdin. I found you can stdout to null by writing > NUL in command prompt so i tried writing < NUL at the end of my argument. No luck. How do i pass in null or do something with the IO locks li...
Hi, I am writing some kind of IPC functionality and need to pass certain resources from one process to another. This works well for Pipe handles etc. which can be duplicated via DuplicateHandle. Now I need to pass a HDC from one process to the other. Is this even possible? If yes: how? Sub-Question: I am assuming passing window handles...