need for SetHook

Jasmeet S. Virdi jvirdi "at" softhome.net
Wed, 27 Mar 2002 03:49:30 +0000


Hi shashi,
    Thanx for responding.. but i figured that much out .. the problem is
that i cannot figure out the reason y its there !!
y do we need it in the first place !! can u help me out in that, please ..

-js
----- Original Message -----
From: "Sharma, Shashi" <Shashi.Sharma "at" brooks.com>
To: <vnc-list "at" uk.research.att.com>
Sent: Tuesday, March 26, 2002 10:15 PM
Subject: RE: need for SetHook


: Its in vnchooks.dll. the function is defined in vnchooks.cpp.
: This allow hooking into window message loop and getting the screen update
: information.
:
:
:
: -----Original Message-----
: From: Jasmeet S. Virdi [mailto:jvirdi "at" softhome.net]
: Sent: Tuesday, March 26, 2002 2:24 AM
: To: vnc-list "at" uk.research.att.com
: Subject: Re: need for SetHook
:
:
: Opps sorry , forgot the file name => vncDesktop.cpp ..
:
: -js
: ----- Original Message -----
: From: "Jasmeet S. Virdi" <jvirdi "at" softhome.net>
: To: <vnc-list "at" uk.research.att.com>
: Sent: Tuesday, March 26, 2002 3:30 PM
: Subject: need for SetHook
:
:
: : Hi all,
: :     Was just going thru the WinVNC code and realised a statement which i
: : cudn't make much sense of, or i cud not find utility for that ..
: : LINE 349
: :
: : if (!SetHook(
: :   m_hwnd,
: :   RFB_SCREEN_UPDATE,
: :   RFB_COPYRECT_UPDATE,
: :   RFB_MOUSE_UPDATE
: :   ))
: :  {
: :   log.Print(LL_INTERR, VNCLOG("failed to set system hooks\n"));
: :   // Switch on full screen polling, so they can see something, at
least...
: :   m_server->PollFullScreen(TRUE);
: :  }
: :
: : y do we really need this !!
: : Wud some body be kind enuf to shed some light on it !!
: : thanx in advance..
: : -js
: :
: :
: :
: : ----- Original Message -----
: : From: "Fred" <fma "at" doe.carleton.ca>
: : To: <vnc-list "at" uk.research.att.com>
: : Sent: Tuesday, March 26, 2002 12:38 PM
: : Subject: Re: Where is Tightvnc 1.2.3; also, compile problems
: :
: :
: : : I found that depending on whether I was behind a firewall,
: : : I am accessing a cached copy of the TightVNC website.
: : : It might help to browse to a different page, then clear
: : : caches on disk and in memory.  Sometimes, not even this
: : : helps, presumably because some intermediate machines
: : : insist on serving a cached copy.  Rumour has it that
: : : on netscape, a shift-Reload is a request for an uncached
: : : copy of a page, but I also seem to recall that respecting
: : : that request is not an official part of any protocol standard.
: : :
: : : Some problems encountered compiling using
: : : gnu make and gnu cc on solaris 8 (sorry, I
: : : didn't note the particulars and the file as it was
: : : really late and I ended up going back to 1.2.2, so
: : : this is from memory).  I was compiling with
: : : zlib libraries.
: : :
: : : 1.  One of the make files has CC hardcoded to a
: : : nongnu compiler, I think it's /usr/ucb/cc.
: : : Commenting this out allowed the make file to
: : : inherit the gcc program path from the parent
: : : make file.  Otherwise, the non-gnu compiler
: : : chokes on syntax in one of the make files.
: : :
: : : 2.  In sun.cf, I defined AsmDefines as null because one
: : : of the commands in a makefile was interpretting
: : : AsmDefines as a file name.  In various other *.cf
: : : files, AsmDefines is defined as a platform-dependent
: : : command line switch.
: : :
: : : 3.  A number of labels couldn't be found,
: : : referenced from 4 different *.o files within a *.a
: : : file.
: : :
: : : Sorry for the vagueness, but hopefully anyone else
: : : encountering these will recognize them.  Maybe even
: : : confirm that #2 was properly handled or not, and
: : : maybe even find the fix for #3.
: : :
: : : Fred
: :
:
: --------------------------------------------------------------------------
: : : Fred Ma
: : : Department of Electronics
: : : Carleton University, Mackenzie Building
: : : 1125 Colonel By Drive
: : : Ottawa, Ontario
: : : Canada     K1S 5B6
: : : fma "at" doe.carleton.ca
: : :
: ==========================================================================
: : : ---------------------------------------------------------------------
: : : To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
: : : 'unsubscribe vnc-list' in the message BODY
: : : See also: http://www.uk.research.att.com/vnc/intouch.html
: : : ---------------------------------------------------------------------
: : ---------------------------------------------------------------------
: : To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
: : 'unsubscribe vnc-list' in the message BODY
: : See also: http://www.uk.research.att.com/vnc/intouch.html
: : ---------------------------------------------------------------------
: ---------------------------------------------------------------------
: To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
: 'unsubscribe vnc-list' in the message BODY
: See also: http://www.uk.research.att.com/vnc/intouch.html
: ---------------------------------------------------------------------
: ---------------------------------------------------------------------
: To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
: 'unsubscribe vnc-list' in the message BODY
: See also: http://www.uk.research.att.com/vnc/intouch.html
: ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------