ipc

Design question: How can I access an IPC mechanism transparently?

I want to do this (no particular language): print(foo.objects.bookdb.books[12].title); or this: book = foo.objects.bookdb.book.new(); book.title = 'RPC for Dummies'; book.save(); Where foo actually is a service connected to my program via some IPC, and to access its methods and objects, some layer actually sends and receives messag...

Easy IPC on Windows Mobile?

In a C++ project (i.e. no .NET) on Windows Mobile, I am looking for a way to easily communicate between two independently running applications. Application A would run a service, whereas application B would provide the user some functionality - for which B has to call some of A's functions. I would rather not go through implementing anyt...

Inter-plugin communication in Eclipse

Is it possible to create Eclipse plugins that auto-discover eachother? I am developing a set of plugins that need to operate in two primary situations: individually in concert with each other. When run individually, the plugins should "just work" but when in concert, they will be sharing some of the same model content, and one of th...

In **portable C**, how to launch a command connecting the command's stdin to the launcher's stdout?

In a C program (p1), how to launch a dynamically constructed command (and its arguments) that reads its standard input from p1's standard output? Note that: A method other than this stdout --> stdin piping is also OK provided it is PORTABLE across Windows and Linux. I cannot use C++, Java, Perl, Ruby, Python, etc here. Also, will t...

Interprocess communication in .NET

I have a core .NET application that needs to spawn an abitrary number of sub processes. These processes need to be able to access some form of state object in the core application. What is the best technique? I'll be moving a large amount of data between processes (Bitmaps), so it needs to be fast. ...

C++/Unix Home Project Ideas

I am a C++, Unix developer, mostly in systems side, product domain. I would like to take up some side project to improve my skills in the following : Object oriented Design Multithreaded Programming, with ample scope for mutexes and semaphores Interprocess Communications in Unix Core C++ stuff (wanna use templates, handle exceptions, u...

How can I launch an instance of an application using Python?

I am creating a Python script where it does a bunch of tasks and one of those tasks is to launch and open an instance of Excel. What is the ideal way of accomplishing that in my script? ...

Java IPC: GUI and Command Line

I would like to implement a command line interface for a Java application. This wouldn't be too difficult to do, except I would like the command line program to affect the state of another Java GUI program. So for example, I could type: java CliMain arg1 arg2 And another running GUI instance would perform an appropriate action. What ...

Crossplatform Bidirectional IPC

I have a project that I thought was going to be relatively easy, but is turning out to be more of a pain that I had hoped. First, most of the code I'm interacting with is legacy code that I don't have control over, so I can't do big paradigm changes. Here's a simplified explanation of what I need to do: Say I have a large number of si...

Cross-platform, cross-language messaging system?

I'm developing a set of applications that work together to create a system for processing metering data. There's several reasons I want to have them loosely coupled and the system should be extensible by third parties, so the apps will be tied together via messaging. I'm looking for a messaging system that offers bindings in (at least) ...

Remote posting from one application to another application. Security issue?

Is there any security issue if let say in one application we do a hidden post to another application to make use of that application functionality? ...

How do I stop sem_open() failing with ENOSYS?

I have two Slackware Linux systems on which the POSIX semaphore sem_open() call fails with errno set to 38. Sample code to reproduce below (the code works fine on CentOS / RedHat). Are there any kernel or system configuration options that could cause this? Other suggestions? Systems with issue are Slackware 10.1.0 kernel 2.6.11 /lib/li...

Most efficient way to move an image from a C program to Java and shown on the screen?

Background I am capturing video using the video4linux 2 spec. It is captured using a C program in real-time. I also have a Java frontend that can run both locally and remotely. The remote side was easy, I just compress the images to JPEG and ship them over a mini-http server to the client that decompresses them and shows them on the ...

Passing data to .NET C# WPF applications/DLLs

Hello! I have a .NET C# WPF application that I am trying to make into a single-instance application using a Mutex. This .NET application is called by a C++-based DLL using CreateProcessAsUser() and is given parameters via environment variables. Subsequent instances will also be created by the C++ DLL in the same way. Subsequent ins...

What is a good open source message bus for embedded Linux?

I'm looking for a good open source message bus that is suitable for embedded Linux devices (Linux and uClinux). It needs to satisfy the following criteria: Must be free software and LGPL or a more liberal license due to uClinux only supporting static linking Must have a C API Must have a relatively small footprint and not depend on th...

IPC between .NET and Java client applications

Dear all, I must get two different client application talk without any kind of broker or server. What is the best method for IPC beween two process, Java and .NET? It must able to be work in multi-user termainl server, so no socket please. I wish that it is lightweight and simple, something plug and run, so no RMI/WS please. I'm now t...

DBus query

I am using DBus in a project. I understand from DBus specification that for low level communication, it uses Unix domain sockets. I don't want to use Unix domain sockets for low level communication because I have a modified connect() call. Is there any other type of low level communication that DBus supports which does not use connect()?...

.NET2.0 Remoting - Why Is Registering A ClientChannel Necessary?

I have a client/server application that must use .NET Remoting (not WCF because the project is using Framework 2). The following code (copied heavily from MSDN) works: _clientChannel = new IpcClientChannel(); ChannelServices.RegisterChannel(_clientChannel, false); IMyObject myObject= (I...

Simple anonymous pipes - what wrapper model you use? (WinAPI, C++)

I have two running processes in Windows, and each process has a pipe to the other. I want to serialize a complicated class and transmit it from one process to the other. I already have the serialization procedure worked out, and I understand that the pipes are sending binary streams. How should I go about sending my serialized data? I'm...

Reading from a text field in another application's window

Is there a way for a Windows application to access another applications data, more specifically a text input field in GUI, and grab the text there for processing in our own application? If it is possible, is there a way to "shield" your application to prevent it? EDIT: The three first answers seem to be about getting the another applic...