In the meantime I was able to find the cause:
service_1 starts up and starts its child (c1) process.
service_2 starts up and starts its child (c2) process.
c2 detects the "don't start me twice" mutex of c1 and shuts itself down.
During shutdown it fires an event that leads into shutdown of c1 ...
Search found 4 matches
- 2016-07-03 20:38
- Forum: Developer discussions (mainly user-mode)
- Topic: Start two winvnc service instances parallel
- Replies: 2
- Views: 60819
- 2016-07-01 06:59
- Forum: Developer discussions (mainly user-mode)
- Topic: Change service_name of uvnc server in service mode
- Replies: 1
- Views: 56365
Re: Change service_name of uvnc server in service mode
I found the solution in the source code:
winvnc.cpp / WinMain(...)
// rest of command line service name, if provided.
char *pServiceName = &szCmdLine[i];
...
// if a service name is supplied, and it differs except in case from
// the default, use the supplied service name instead
if ...
winvnc.cpp / WinMain(...)
// rest of command line service name, if provided.
char *pServiceName = &szCmdLine[i];
...
// if a service name is supplied, and it differs except in case from
// the default, use the supplied service name instead
if ...
- 2016-07-01 06:59
- Forum: Developer discussions (mainly user-mode)
- Topic: Start two winvnc service instances parallel
- Replies: 2
- Views: 60819
Start two winvnc service instances parallel
Hi,
I installed two winvnc services
winvnc.exe -install uvnc_service_1
winvnc.exe -install uvnc_service_2
What happens is:
uvnc_service_1 starts up, creates its child winvnc process and starts listening. When uvnc_service_2 starts up the child process of uvnc_service_1 stops. After a moment ...
I installed two winvnc services
winvnc.exe -install uvnc_service_1
winvnc.exe -install uvnc_service_2
What happens is:
uvnc_service_1 starts up, creates its child winvnc process and starts listening. When uvnc_service_2 starts up the child process of uvnc_service_1 stops. After a moment ...
- 2016-06-30 08:26
- Forum: Developer discussions (mainly user-mode)
- Topic: Change service_name of uvnc server in service mode
- Replies: 1
- Views: 56365
Change service_name of uvnc server in service mode
Hi,
I need to change the service name when registering the uvnc as a windows service.
I've found this in the changelog ( http://www.uvnc.com/general/whatsnew.html ):
- You can now register the service with a custom name.
But I cannot find any option to do this. Looking at the current code, the ...
I need to change the service name when registering the uvnc as a windows service.
I've found this in the changelog ( http://www.uvnc.com/general/whatsnew.html ):
- You can now register the service with a custom name.
But I cannot find any option to do this. Looking at the current code, the ...