Where to find the initialization of m_socketConn in Class
vncServer?
xue
frpan "at" bjmail.cn.net
Thu Aug 12 10:08:01 2004
hi,all
I'm reading the vnc-3.3.7-winsrc and don't know where to find the initialization of the member "vncSockConnect *m_socketConn;".In
vncServer::vncServer() there's a "m_socketConn = NULL;"Besides that,i can only found some initialization in "vncServer::BOOL On)" and this function was called in vncServer::SetLoopbackOnly(BOOL loopbackOnly) and vncServer::SetPort(const UINT port).Where this socket got initialized ?
When compiling the WinVNC,I got the following errors:
Creating library ..\Profile/winvnc.lib and object ..\Profile/winvnc.exp
rfbRegion_X11.obj : error LNK2001: unresolved external symbol _XCreateRegion
rfbRegion_X11.obj : error LNK2001: unresolved external symbol _XUnionRegion
rfbRegion_X11.obj : error LNK2001: unresolved external symbol _XDestroyRegion
rfbRegion_X11.obj : error LNK2001: unresolved external symbol _XUnionRectWithRegion
rfbRegion_X11.obj : error LNK2001: unresolved external symbol _XOffsetRegion
rfbRegion_X11.obj : error LNK2001: unresolved external symbol _XIntersectRegion
rfbRegion_X11.obj : error LNK2001: unresolved external symbol _XSubtractRegion
rfbRegion_X11.obj : error LNK2001: unresolved external symbol _XEqualRegion
rfbRegion_X11.obj : error LNK2001: unresolved external symbol _XEmptyRegion
rfbRegion_X11.obj : error LNK2001: unresolved external symbol _XClipBox
..\Profile/winvnc.exe : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.
winvnc.exe - 11 error(s), 0 warning(s)
Could someone help me with this?
thanks
Pan,Xue
!!!!!!!!!!!!!!!!frpan "at" bjmail.cn.net
!!!!!!!!!!!!!!!!!!!!2004-08-12