From 009eda749899fc85d3a75ad2016371f27436bf36 Mon Sep 17 00:00:00 2001
From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com>
Date: 星期四, 09 一月 2025 14:04:16 +0800
Subject: [PATCH] Merge branch 'liuyang' into chenluhua
---
SourceCode/Bond/Servo/Servo.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/SourceCode/Bond/Servo/Servo.cpp b/SourceCode/Bond/Servo/Servo.cpp
index 4e005c6..b422966 100644
--- a/SourceCode/Bond/Servo/Servo.cpp
+++ b/SourceCode/Bond/Servo/Servo.cpp
@@ -81,14 +81,16 @@
_tsplitpath_s(sAppFilename, sDrive, sDir, sFilename, sExt);
m_strAppDir = CString(sDrive) + CString(sDir);
m_strAppFile = CString(sFilename);
+ m_model.setWorkDir((LPTSTR)(LPCTSTR)m_strAppDir);
// 注册控件
CServoGraph::RegisterWndClass();
- // 初始化BEQ库
+ // 初始化Rx库
RX_Init();
+ HSMS_Initialize();
CServoDlg dlg;
@@ -124,6 +126,7 @@
int CServoApp::ExitInstance()
{
m_model.term();
+ HSMS_Term();
RX_Term();
return CWinApp::ExitInstance();
--
Gitblit v1.9.3