How does one close a running VNCViewer?
Erik Soderquist
esoderquist "at" mcstamp.com
Thu Mar 31 19:49:00 2005
the net start/net stop would have to be executed on the host, with admin
privilege. pass a command or something through whatever mechanism the
audio disconnect is issued to the server...
-----Original Message-----
From: vnc-list-admin "at" realvnc.com [mailto:vnc-list-admin "at" realvnc.com] On
Behalf Of Mark Jacobs
Sent: Thursday, March 31, 2005 11:42
To: vnc-list "at" realvnc.com
Subject: Re: How does one close a running VNCViewer?
Erik Soderquist wrote:
>might I ask what you are using for the audio stream?
>
>
I use my own proprietary routines which hook into the Windows multimedia
system. I can choose from the supported on-the-fly codecs, including OGG
and GSM. We use GSM usually. I use the waveIn and waveOut functions in
the MM MFC libraries.
>if the vnc server is installed as a service,
>
>
In fact, the PC that does the viewing (ie. that spawns VNCViewer) does
*not* have any VNC stuff installed on it. It launches a copy of the
VNCViewer executable held on a shared network drive.
>net stop winvnc4 & net start winvnc4
>
>
Consequently, this will not do anything. I'm sure there is a Windows MFC
technique that allows closure of running apps, but I'm trying to avoid
using PIDs and the like. I looked the the FindWindow techniques, but VNC
Viewer assigns the name of the viewed workstation as the title for the
window, and this could be anything, so I cannot specify the text to
search for in FindWindow. Any ideas anyone? TIA,
--
Mark Jacobs
http://www.dkcomputing.co.uk
_______________________________________________
VNC-List mailing list
VNC-List "at" realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list