debugwithvs.cpp
来自「This is a Windows CE 6.0 Board Support P」· C++ 代码 · 共 23 行
CPP
23 行
///---------------------------------------------------------------------------------
// Copyright (c) 2006 David Vescovi. All rights reserved.
//
//---------------------------------------------------------------------------------
#include <windows.h>
#include <stdio.h>
int _tmain(int argc, TCHAR *argv[], TCHAR *envp[])
{
if (!CreateProcess(TEXT("conmanclient2.exe"),NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL))
RETAILMSG(1, (TEXT("Debugwithvs: CreateProcess error! conmanclient2.exe %d\r\n"),GetLastError()));
Sleep(100);
if (!CreateProcess(TEXT("cmaccept.exe"),NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL))
RETAILMSG(1, (TEXT("Debugwithvs: CreateProcess error! cmaccept.exe %d\r\n"),GetLastError()));
RETAILMSG(1, (TEXT("Visual Studio debug support enabled!\r\n")));
return 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?