(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();

相关文章:

  • 2023-02-10
  • 2022-02-05
  • 2022-12-23
  • 2021-10-02
  • 2021-06-05
  • 2021-10-09
  • 2021-10-27
猜你喜欢
  • 2021-05-01
  • 2021-12-11
  • 2021-10-13
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案