Skip to content

Commit

Permalink
发布V1.0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanyuanxiang committed Feb 4, 2019
1 parent fd62f33 commit 74c4266
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
4 changes: 4 additions & 0 deletions ReadMe.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,7 @@
2019.2.4

清理垃圾注释、整理不良排版,对代码略有改动。

遗留问题:文件管理功能无效、主控端随机崩溃。因此有必要将文件管理的功能屏蔽。

发布V1.0.0.4。
4 changes: 2 additions & 2 deletions client/Script.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down
Binary file modified server/2015Remote/2015Remote.rc
Binary file not shown.
13 changes: 9 additions & 4 deletions server/2015Remote/2015RemoteDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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; //父窗口 是被定义在父类CWnd类中
m_Nid.uID = IDR_MAINFRAME; //icon ID
Expand Down Expand Up @@ -401,7 +401,7 @@ BOOL CMy2015RemoteDlg::OnInitDialog()

ListenPort();

#if !SHOW_NOTIFY
#if !INDEPENDENT
ShowWindow(SW_SHOW);
#endif

Expand All @@ -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);
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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()
Expand Down
6 changes: 3 additions & 3 deletions server/2015Remote/2015RemoteDlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

//////////////////////////////////////////////////////////////////////////
// 以下为特殊需求使用
// 是否显示托盘
#define SHOW_NOTIFY 1

#define INDEPENDENT 1

//////////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -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;
Expand Down

2 comments on commit 74c4266

@bingzhiyueye
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个远程用什么软件编辑啊

@yuanyuanxiang
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bingzhiyueye Visual Studio 2012等软件可编译。

Please sign in to comment.