摘要: 一般要包括#include 创建进程 1 bool CSysInfoHelper::RunProcess(const CString &commandLine, bool isWait, WORD showWindow, DWORD dwMilliseconds) 2 { 3 /* 4 ... 阅读全文
posted @ 2015-05-18 17:42 醉游 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 1 // 启动GDI+,DestroyWindow函数进行析构2 GdiplusStartup(&m_ulGdiplusToken, &m_tGdiplusStartupInput, NULL);3 ... ...4 // 停止GDI+5 GdiplusShutdow... 阅读全文
posted @ 2015-05-18 17:22 醉游 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 获取当前进程是否是其它进程的子进程(这边如当前进程是否是Excel的)// 获得当前进程信息 1 HMODULE hModule = LoadLibrary(L"NTdll.dll"); 2 if (hModule) 3 { 4 NTSTAT... 阅读全文
posted @ 2015-05-18 13:13 醉游 阅读(445) 评论(0) 推荐(0) 编辑