Thanks for the Update, Rudi!
short test svn_1131 @ Win8.1 with uvnckeyboardhelper.exe existing in winvnc.exe-folder...
- ALT+TAB works flawless with that version [**3**]
- no initialdelay anymore
but:
1) At the beginning I made some short viewer connections to test the InitialDelay (connect, saw remote screen, wait 3-4secs moving cursor around, close viewer, connect again, ....). Every second connect attempt failed -> instead I got "VncViewer Messaage Box - Server closed connection, -Manual closed, -Network disconn" [**1**]. At least one time the connection has been established, but after a few seconds (while moving remote cursor around) the viewer got disconnected according to the window title of the viewer (still saw the last screen of the remote-desktop) [**2**]...after a few seconds the viewer successfully reconnected.
2) After ~10 connection attempts I recognized multiple VNC Icons in the taskbar (next to date/time) on the server side: moving the cursor over them all disappeared except one. Looks like the sever crashed multiple times.
3) Connecting the viewer (while remote machine is on Desktop, not locked) I can see how the first low res screen get's replaced by the high res version (from top to bottom) with tight encoding (viewer encoding setting: manual, tight) - that's OK. But sometimes (even after the highres refresh finished) the screen updates are very sluggish (e.g. selecting Desktop Icons: hold left mouse button, move around the cursor -> most of the time the blue select-rectangle is not visible).
=> There seems to be some kind of instability on the server side!?
after further testing:
[**1**] While viewer shows the message box on server side one of two winvnc.exe process goes away and comes back after few seconds (creating a new/additional vnc icon in the taskbar).
[**2**] On server side it looks like: a uvnckeyboardhelper.exe process is created, then it goes away, second winvnc.exe-process goes away (viewer gets disconnected), second winvnc.exe come back...uvnckeyboardhelper.exe process is started. Then the viewer-connection looks stable.
[**3**] ALT+TAB does not work always...sometimes the uvnckeyboardhelper.exe goes aways and doesn't come back leaving ALT+TAB without function.
[s]I like the idea of the initial lowres screen but perhaps that feature should be removed from source code until the InitalDelay has been solved successfully?[/s] From my point of view svn1130 looked much more mature.
After further testing I re-applied moe's workaround (renaming uvnckeyboardhelper.exe = disable it)...that looks totally different: can't get the server/viewer to crash anymore; only one single vnc icon in taskbar - no matter how often I connect / how fast I reconnect after closing the session. uvnckeyboardhelper.exe is definately the culprit, but your change (comparing to svn1130) converted the InitialDelay into a instability on the server side. Might your thread heandling of uvnckeyboardhelper.exe yould be "optimized"? Or Perhaps uvnckeyboardhelper.exe has a fundamental bug? Perhaps there are better ways to do what uvnckeyboardhelper.exe should do?
the multi is also moved as requested by Thomas Levering
What is "the multi"?
Argh, sorry! Never meant to write so much bullsh**
