6. Visual Studio 2005的Solution Explorer
DMServer>ConstDefine
SUMessageDefine.h/.cpp Message Id字串定義
SUMessageDefine_ModuleName.cpp Message Id字串定義
SystemDefine.h/SystemDefine.cpp 其它系統會用上的字串定義
SystemTemplate.h 所有舊架構的Template函數
SuMsgErrorCode.h/.cpp error code的宣告與定義(與新架構共用)
7. Visual Studio 2005的Solution Explorer
DMServer>ConstDefine>FablinkKgs
fKDataTime 特別為Fablink加強的KDataTime版本(與新架構共用)
fSysUtils 特別為Fablink加強的SysUtils版本(與新架構共用)
8. Visual Studio 2005的Solution Explorer
DMServer>Impl>oldMessage
DoStructDefine 舊架構專用的Struct(Xml -> Struct的Struce定義)
各式各樣的…struct.h(不一定有.cpp)
ImplMarco.h 舊架構專用的MARCO
SuUtility.h/.cpp 舊架構專用拿來讀取.config檔的函數,初始化時期就出現成
全域物件
27. MainForm的初始化
BOOL MainForm::OnInitDialog()
{
CDialog::OnInitDialog();
// Set the icon for this dialog. The framework does this automatically
// when the application's main window is not a dialog
SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon
KGS::VerDataName file_info = KGS::GetFileVersionInfoA();
//顯示Dialog內的文字
//設定標題
//設定 給client的query資料
//初始化Timer(更新Busy Message用的)
//之後作業系統會自動執行void MainForm::OnTimer(UINT_PTR nIDEvent))
return TRUE; // return TRUE unless you set the focus to a control
}