ultra vnc 启动顺序

(1) winvnc 下的         int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow)

(2) 加载vnclang_server.dll

(3) 在myinit 函数里  设置SetOSVersion();

(4)调用VSocketSystem,初始化

VSocketSystem socksys;
if (!socksys.Initialised())
{
MessageBoxSecure(NULL, sz_ID_FAILED_INIT, szAppName, MB_OK);
return 0;
}
return 1;

界面文件在 winvnc.RC

响应 ultravnc Server Property Page 里面的Apply pushbutton ——IDC_APPLY:

在vncproperties.CPP ,里面有个

vncProperties::InitPortSettings(HWND hwnd),设置各种参数

BOOL CALLBACK vncProperties::DialogProc(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam ) 方法里面响应

还有个 vncServer *m_server;

m_server ,有各种函数  AddClient(),RequireMSLogon ,

_this->m_server->SetNewMSLogon(SendMessage(hNewMSLogon, BM_GETCHECK, 0, 0) == BST_CHECKED);
// Marscha@2004 - authSSP: end of change

,EnableDSMPlugin,SetQueryTimeout。SetHookings();

posted on 2012-11-07 10:41  GIS-MAN  阅读(897)  评论(0编辑  收藏  举报

导航