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:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 2:24 AM To: [EMAIL PROTECTED] Subject: Re: need for SetHook Opps sorry , forgot the file name => vncDesktop.cpp .. -js ----- Original Message ----- From: "Jasmeet S. Virdi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> : To: <[EMAIL PROTECTED]> : 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 : : [EMAIL PROTECTED] : : ========================================================================== : : --------------------------------------------------------------------- : : To unsubscribe, mail [EMAIL PROTECTED] with the line: : : 'unsubscribe vnc-list' in the message BODY : : See also: http://www.uk.research.att.com/vnc/intouch.html : : --------------------------------------------------------------------- : --------------------------------------------------------------------- : To unsubscribe, mail [EMAIL PROTECTED] with the line: : 'unsubscribe vnc-list' in the message BODY : See also: http://www.uk.research.att.com/vnc/intouch.html : --------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, mail [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html --------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, mail [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html ---------------------------------------------------------------------