wincespysvr.cpp

来自「用PC机访问wince的远程桌面,还可以上传文件,杀进程等功能,服务端在winc」· C++ 代码 · 共 29 行

CPP
29
字号
// WinceSpySvr.cpp : Defines the entry point for the application.
//

#include "stdafx.h"
#include "MainFrame.h"

int WINAPI WinMain(	HINSTANCE hInstance,
					HINSTANCE hPrevInstance,
					LPTSTR    lpCmdLine,
					int       nCmdShow)
{
	HANDLE	hMutex	= CreateMutex(NULL, FALSE, _T("WinceSpy2.exe"));
	if(GetLastError() == ERROR_ALREADY_EXISTS)
	{
		CloseHandle(hMutex);
		MessageBox(NULL,L"WinceSpy Already exist!",L"WinceSpy2",MB_OK);
		return -1;
	}

 	CMainFrame	mf;
	if(mf.Initialize() < 0)
		return 0;

	MSG msg;
	while (GetMessage(&msg, NULL, 0, 0));
	return 0;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?