Share objects from library with many executables.

Jul 14, 2014 at 9:03am
I am looking to write a server. I want one executable to be able to start and stop the server and another executable to get statistics from the server and change settings.

I think I need two console executable projects and one shared library, keeping the server in the shared library.

I am just not sure how to do this. I would appreciate any help.
Jul 14, 2014 at 12:19pm
It's not really a matter of shared code, it's shared data. You need some way to get the collected stats from the server process.

Checkout the standard IPC mechanisms.
Jul 14, 2014 at 10:02pm
Thank you, very helpful.
Topic archived. No new replies allowed.