-
MFC绘制多条完美曲线
主要内容是测试车灯在按压过程中的力值, 采集并绘制, 分析。
MFC实现, 通过RS232与下位机PLC之间的通信,通过发送命令使压力传感器前进,然后获取传感器返回的力值,绘制曲线。
之中利用了TeeChart控件绘制多条曲线。 希望可以帮到朋友们一点。
- 2022-03-22 00:39:09下载
- 积分:1
-
QT读取OSG模型
使用C++语言,在配置好环境后,VS2005中在QT的框架下用控制台读取OSG模型,
- 2022-03-05 00:55:45下载
- 积分:1
-
在视图上如何加对话框,是如何在对话框中添加数状控件。
在视图上如何加对话框,是如何在对话框中添加数状控件。-In the view on how to increase the dialog box is how to add in the dialog box controls the number of symptoms.
- 2022-11-17 16:25:03下载
- 积分:1
-
定时器小闹钟可播放影音文件
定时器小闹钟可播放影音文件-small alarm clock timer can play audio files
- 2023-04-25 18:45:04下载
- 积分: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
-
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
-
VB very attractive on the international popular programming interfaces.
用VB实现的非常好看的国际上流行的程序界面。-VB very attractive on the international popular programming interfaces.
- 2022-03-10 15:51:46下载
- 积分:1
-
a simple literary assistant ah! ~ ~ Can be statistics or the number of character...
一个简单的文学助手啊!~~可以统计数字或字的数量还有所在的行-a simple literary assistant ah! ~ ~ Can be statistics or the number of characters have the line
- 2022-03-24 06:19:28下载
- 积分:1
-
用LPC93251操作nand flash K9F6408,能正确擦,写,读。改用其它芯片,方法类似,注意时序就行了。如换用大容量flash,请注意每块的页数,...
用LPC93251操作nand flash K9F6408,能正确擦,写,读。改用其它芯片,方法类似,注意时序就行了。如换用大容量flash,请注意每块的页数,6408每块是16页的。【-with LPC93251 operation nand flash K9F6408 can correct rub, writing and reading. Other chip switch, a similar manner, the attention on the timing of the trip. If used for large-capacity flash, to every piece of pages, 6,408 each block is the 16.
- 2022-12-01 08:05:03下载
- 积分:1
-
一个不错的货币输入控件,支持C++Builder(V4 & V5)。
一个不错的货币输入控件,支持C++Builder(V4 & V5)。-A good monetary input controls, to support the C++ Builder (V4
- 2023-02-21 20:05:03下载
- 积分:1