-
COM的UART串口通信
应用背景对于串行通信,并进行了;和;和;和;;;;;;;;;;;;;;;关键技术视觉工作室+ +软件串口通讯
- 2022-02-02 23:51:14下载
- 积分:1
-
本源码演示了如何实现Visual Studio 6.0风格的用户界面。
本源码演示了如何实现Visual Studio 6.0风格的用户界面。-The source code to demonstrate how to achieve the Visual Studio 6.0-style user interface.
- 2022-05-06 19:35:51下载
- 积分:1
-
如何修改MFC AppWizard向导生成的框架程序的外观和大小,修改图标、光标、背景的三种方法。如何增加和删除工具栏按钮,如何给应用程序增加工具栏,如何显示和...
如何修改MFC AppWizard向导生成的框架程序的外观和大小,修改图标、光标、背景的三种方法。如何增加和删除工具栏按钮,如何给应用程序增加工具栏,如何显示和隐藏工具栏。定制状态栏,在状态栏中添加时钟显示,CTime类及其用法。在状态栏中添加进度条(主窗口产生后立即产生进度条的巧妙思想,不能在OnCreate函数中直接处理,要用到自定义消息的方法)。鼠标坐标显示,在CView中获取状态栏对象的几种方式。如何为应用程序添加启动画面。
-MFC+5.0 how to amend the framework of the wizard generates the look and size, changes icon, cursor, background of the three methods. How to increase and remove toolbar buttons, how to increase application toolbar, how to display and hide the toolbar. Custom status bar, the status bar add clock, CTime category and usage. Add in the state of progress of the column (the main window have generated immediately after the progress of the clever ideas, OnCreate function not directly address that we had to use information from the definition of the methods). The mouse coordinates, in which CView status bar access to the object in several ways. How to add application screens.
- 2022-02-13 03:43:27下载
- 积分:1
-
学生成绩管理系统
资源描述此系统是用C++编写,内容为学生管理系统,可作为学习及综合运用C++的参考例子,方便学习与提高
- 2022-02-13 05:48:49下载
- 积分:1
-
LC记事本1.00源程序,实现基本的记事本的功能,环境bcb
LC记事本1.00源程序,实现基本的记事本的功能,环境bcb-LC Notepad 1.00 source code to achieve the basic functions of Notepad, environmental BCB
- 2023-05-13 23:55:02下载
- 积分:1
-
intruder radio alert system
intruder radio alert system
- 2023-07-26 05:15:03下载
- 积分:1
-
MFC进程之间的单管道传输
资源描述
进程之间的单管道数据传输
操作平台:win10+vs2013 pro
运行结果:
1、字符与宽字符之间的转换
//宽字符转字符
void TcharToChar(const TCHAR * tchar, char * _char)
{
int iLength;
//获取字节长度
iLength = WideCharToMultiByte(CP_ACP, 0, tchar, -1, NULL, 0, NULL, NULL);
//将tchar值赋给_char
WideCharToMultiByte(CP_ACP, 0, tchar, -1, _char, iLength, NULL, NULL);
}
//字符转宽字符
void CharToTchar(const char * _char, TCHAR * tchar)
{
int iLength;
iLength = MultiByteToWideChar(CP_ACP, 0, _char, strlen(_char) + 1, NULL, 0);
MultiByteToWideChar(CP_ACP, 0, _char, strlen(_char) + 1, tchar, iLength);
}
2、创建进程及单管道传输
void CDemoDlg::OnBnClickedButton1()
{
// TODO: 在此添加控件通知处理程序代码
//管道相关
HANDLE hPWrite, hPRea
- 2022-03-06 10:20:16下载
- 积分:1
-
MFC program code
详述用MFC的进行编程的源代码,包括各种界面,从简入深-MFC program code
- 2023-01-05 11:45:08下载
- 积分:1
-
功能非常齐全的GridControl VC源码
功能非常齐全的GridControl VC源码-Very complete source GridControl VC
- 2022-03-04 03:07:29下载
- 积分:1
-
管理音频、视频及图像文件,并能选择文件进行播放的软件
管理音频、视频及图像文件,并能选择文件进行播放的软件-Management of audio, video and image files, and can select the file for playback software
- 2022-04-24 08:25:42下载
- 积分:1