-
剪贴板示例
//t仪表板
- 2022-09-30 22:45:03下载
- 积分:1
-
一款功能较为齐全的画图软件,源代码有些复杂,不适合初学者...
一款功能较为齐全的画图软件,源代码有些复杂,不适合初学者-A function of drawing a more complete software, source code, some complex, not suitable for beginners
- 2022-01-27 08:57:34下载
- 积分: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
-
vc++内存中虚拟表
利用内存,建立虚拟的表信息,不需要直接创建大的内存,只需要什么时候使用什么时候创建,这样保证程序运行的时候不会出现内存的问题利用内存,建立虚拟的表信息,不需要直接创建大的内存,只需要什么时候使用什么时候创建,这样保证程序运行的时候不会出现内存的问题
- 2022-04-17 23:23:47下载
- 积分:1
-
AppFace supports three skin loading from the disk loading, loading resources fro...
AppFace 支持三种皮肤加载方式,从磁盘文件加载,从资源加载,从内存加载。下面我就说说如何从资源加载URF皮肤文件: 首先,要确保你下载了AppFace for VC 开发包,我们要用到其中的三个文件: "appface.h", "appface.dll" ,"gtclassic.urf" 。 接着,创建一个 VC 可执行文件工程, MDI/SDI/DIALOG/WIN32 类型的都可以,我以创建一个DIALOG 工程 ResSkin 进行说明 。将"appface.h" 拷贝到该工程目录下,将"Appface.dll"拷贝到该工程的输出目录下,例如:"debug",将"gtclassic.urf"拷贝到资源所在目录下 。在VC 的项目管理器中进入资源管理项,在右键菜单中选择"Import",将"gtclassic.urf"添加进工程,资源类型设定为: "MYRESTYPE",资源ID设定为"IDR_MY_URF"。注意:资源ID 前面一定要加双引号 -AppFace supports three skin loading from the disk loading, loading resources from the memory load. Now, I would talk about how to load resources from the URF skin document : first, to ensure that you downloaded AppFace for VC development kits, we have to use th ree documents : "appface.h", "appface.dll", "gtclassic.urf." Next, create an executable file VC, MDI/SDI/DIALOG/WIN32 types of can, I would like to create a DIALOG project ResSkin explanation. "Appface.h" copy to the project directory, "Appface.dll"
- 2022-03-05 03:56:05下载
- 积分:1
-
这是另一个简单的帮助对话框的实现。Simple RTF based Help Dialog,...
这是另一个简单的帮助对话框的实现。Simple RTF based Help Dialog,-This is another simple dialog with the help of the achievement. Simple RTF based Help Dialog,
- 2022-03-20 11:57:44下载
- 积分:1
-
这是一个用VB6.0编写直接请空回收站的程序
这是一个用VB6.0编写直接请空回收站的程序-This a preparation with VB6.0 Please direct air Recycling procedures
- 2022-06-03 14:43:36下载
- 积分:1
-
利用SKINMAGIC技术进行界面编程,其中还含有一个实现淡入淡出效果类。...
利用SKINMAGIC技术进行界面编程,其中还含有一个实现淡入淡出效果类。-SKINMAGIC use programming interface technology, which also contain a color LCD screen achieve such results.
- 2023-05-05 01:55:03下载
- 积分:1
-
C builder controls, including 5 controls to achieve graphical monitoring of reso...
C++builder控件,包括五个控件,实现图形化对资源监控,自定义资源名称-C builder controls, including 5 controls to achieve graphical monitoring of resources, since the definition of resource names
- 2022-08-25 03:53:31下载
- 积分:1
-
可以浏览图标
可以浏览图标-can browse icon
- 2022-04-23 01:01:34下载
- 积分:1