-
以前的空间clistrl
对以前Clistrl空时还有滚动条进行修正-Clistrl of previous space-time there are amendments to scroll bar
- 2023-03-13 19:35:04下载
- 积分:1
-
隐藏桌面图标的工具,通过findwindow操作,代码相当简洁,适合初学者。...
隐藏桌面图标的工具,通过findwindow操作,代码相当简洁,适合初学者。-hide desktop icons tool that findwindow operation, code is simple and suitable for beginners.
- 2022-04-09 19:01:39下载
- 积分:1
-
VC++ 写字板代码
一个简单的写字板程序,非常适合初学vc,mfc的同志们学习。把这个项目搞定了,想必其他更复杂的工程也不成问题,好好学习吧。
- 2022-02-06 09:26:17下载
- 积分:1
-
很出名的一个程序,可以很简单地实现控件的拖放功能
很出名的一个程序,可以很简单地实现控件的拖放功能-A very well-known procedures, can be as simple as drag-and-drop feature Controls realize
- 2023-02-24 22:55:04下载
- 积分:1
-
简单强大的下载编辑软件.该软件是VC软件 A Compressed Bitset Class
简单强大的下载编辑软件.该软件是VC软件 A Compressed Bitset Class - Simple formidable downloading edition software This software
is VC software A Compressed Bitset Class
- 2023-02-18 13:30:04下载
- 积分:1
-
地图的发送,主要是通过微软的outlook来发送地图的
地图的发送,主要是通过微软的outlook来发送地图的-maps of this, primarily through Microsoft Outlook to send maps
- 2023-06-19 04:55:03下载
- 积分:1
-
on the registry for a detailed explanation and application of the registry is to...
对注册表进行了详细的讲解和应用,是学习注册表的好帮手,希望对需要的朋友有所帮助-on the registry for a detailed explanation and application of the registry is to learn a good helper, and I hope to have a friend in need of help
- 2022-02-13 06:09:55下载
- 积分:1
-
WPF RichText Editor,实现简单的文件编辑器。
WPF RichText Editor,实现简单的文件编辑器。-WPF RichText Editor
- 2022-10-16 06:55:02下载
- 积分:1
-
Aviation system interface programming. All of the students, please download the...
航空系统的界面编程。所有华工的学生请下载,不过现在这是界面,里面密钥响应事件编程!-Aviation system interface programming. All of the students, please download the Chinese laborers, but now it" s interface, which key is programmed to respond to the event!
- 2022-03-17 08:50:40下载
- 积分:1
-
MFC创建进程、打开进程、终止进程
资源描述
创建进程、打开进程、终止进程
*两个函数 CreateProcess、openProcess、TerminateProcess
*获得进程句柄
*获得进程号
*提升进程权限
*Microsoft Spy++
操作平台:win10+vs2013 pro
操作步骤:
1、创建进程
PROCESS_INFORMATION pi;//进程信息结构
STARTUPINFO si;//启动信息结构
memset(&si, 0, sizeof(si));
si.cb = sizeof(si);
si.wShowWindow = SW_SHOW;
si.dwFlags = STARTF_USESHOWWINDOW;
TCHAR szPath[] = TEXT("c:windowssystem32
otepad.exe E:c++MFCa.txt");
BOOL bRet = ::CreateProcess(NULL, szPath, NULL, FALSE, NULL, NULL, NULL, NULL, &si, &pi);
int error = GetLastError();
if (bRet)
{
::CloseHandle(pi.hThread);
::CloseHandle(pi.hProcess);
AfxMessageBox(TEXT("创建进程成功"));
}
else
{
AfxMessageBox(TEXT("创建进程失败"));
}
2、打开进程
DWORD pid;
//若有指定窗口类和窗口名称则表示成功返回一个窗口的句柄
HWND hCalc = ::FindWindow(TEXT("Note
- 2022-03-25 15:36:01下载
- 积分:1