inter-process

Exposing a function to other processes

I'm using this piece of code that exposes a simple function using a socket: while (true) { try { ServerSocket serverSocket = new ServerSocket(7070); Socket clientSocket = serverSocket.accept(); String input = (new BufferedReader(new InputStreamReader(clientSocket.getInputStream()))).readLine(); synchronized (this.map)...

How do I snoop on another processes memory from .Net?

I'd like to attach to another process from a .Net console app and explore the data area. Specifically I would like to attach to the 'Spider Solitaire' app in Windows Vista as I am interested in seeing if the cards it deals out are solveable in all situations. Is this possible and if so which APIs should I be looking at? This is a 'just...

inter process communication, IPC remoting

hi all, i'm using remoting to communication for IPC. basically, i have a vb.net exe app which manages the login process. this sits in the windows task bar and is the remoting server (using tcp). it is a winforms app as i need a login screen and a few other details to be served to client apps. my client apps connect look for the server ...

How do I obtain a handle on an object from another .NET process?

In C#, I know how to run a .NET executable from code and also find out if an instance of the executable is already running. What I would like to do is if an instance is already running, obtain an instance of the Foo object within the C# code of a different executable. I have a windows application, (e.g..NET version of Outlook). A user ...

Interprocess communication with Lua and C#

I have an application in Lua, I want to communicate between the Lua application and a C# program. I know of several ways to do this in C# (sockets, OS pipes etc) but I can't find any information about these things in Lua (which is a language I'm rather unfamiliar with unfortunately). The IPC sending and receiving must not block for lon...

vb.net inter-process communication

Following the instructions in http://anoriginalidea.wordpress.com/2007/08/09/simple-inter-process-communication-in-vbnet/ word for word, I somehow keep stumbling across an error: Exception has been thrown by the target of an invocation. This error is thrown whenever my client program (a winforms app) tries to call the "SaySomething" me...