I have two apps:
- VideoServer - a standalone video survailance app
- ServerGuard - manages the servers and runs them
the server is always in one location, only the settings for it change for every new instance
the guard also provides a crash-recover mechanism for the server
if the server freezes or terminates unexpectedly the guard has an option to rerun the server
if the server freezes then the guard terminates the servers process !
for now I have the server as an exe
the guard can run as many servers as it 'wants'
so every server takes it's memory toll
I've already built all of the projects in the group with RT packages
that reduced memory consumption of the server from 38 to 22 mb :)
but still if you have 4 cameras running that's almost 100 mb !!!
I'd like to create a dll from it so the core functions would be shared
that's not really a problem
the problem is that I need a process handle for the guard !!
so how could I run some dll code as a separate process ??
if it turns out difficult I'll increase the points
I have about 2000 to spare :)