zoukankan      html  css  js  c++  java
  • ultra vnc 启动顺序 GIS

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

  • 相关阅读:
    ES6之模块化
    ES6之展开运算符
    ES6之解构赋值
    ES6之对象的语法糖
    ES6之函数的语法糖
    ES6之模板字符串
    Exchanger详解
    DNS解析过程
    CyclicBarrier详解
    ConuntDownLatch详解
  • 原文地址:https://www.cnblogs.com/gisbeginner/p/2758339.html
Copyright © 2011-2022 走看看