Search code examples
wxwidgetsipc

Is it easy to do IPC with wxWidgets?


Is it easy to create an IPC setup with wxWidgets? I have an application that needs to detect if a previous instance is running and send a message to the running instance with a string value. Is there an easier way to do this than setting up a wxServer and wxClient-derived class?


Solution

  • Using wxClient and wxServer is really as simple as it gets, I don't think you can simplify it even further. Have you looked at ipc sample included in wxWidgets distribution?