-
将一图形用户输入界面封装到动态库中
将一图形用户输入界面封装到动态库中- Seals in the dynamic storehouse a graph user input contact
surface
- 2022-07-28 15:28:14下载
- 积分:1
-
GPS开发过程的详细源码。包括各个功能的开发流程
GPS开发过程的详细源码。包括各个功能的开发流程-GPS-source development process in detail. Including the development of various functional flow
- 2022-03-18 00:11:44下载
- 积分:1
-
browser
浏览器IE4.0风格的界面效果, vc实现源代码. 试用.-browser-style interface effects, vc achieve source code. Probation.
- 2022-01-26 01:19:05下载
- 积分:1
-
Modeless dialog box method
非模态对话框的实现方法-Modeless dialog box method
- 2022-02-05 17:39:26下载
- 积分: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
-
界面程序,用C++编的
可以补充完整运行出结果
界面程序,用C++编的
可以补充完整运行出结果-Interface program, using C++ can be compiled to run out the results of the full complement
- 2022-01-26 02:52:43下载
- 积分:1
-
基于PFC结构程序的一个通用的和灵活的框架,PB编程…
基于PFC构造一个灵活通用的程序框架,PB编程.直接能够使用-based PFC structure a general and flexible framework of the procedure, PB programming. Direct access to
- 2022-07-02 08:06:30下载
- 积分:1
-
Highlight the source code program, source code can be converted into HTML docume...
源代码高亮程序,可以将源代码转换成HTML文件,并具有高亮效果-Highlight the source code program, source code can be converted into HTML documents, and have highlighted the effect of
- 2022-08-02 22:19:09下载
- 积分:1
-
Display a Web Page in a Plain C Win32 Application:
There are numerous examples...
Display a Web Page in a Plain C Win32 Application:
There are numerous examples that demonstrate how to embed Internet Explorer in your own window. But these examples typically use Microsoft Foundation Classes (MFC), .NET, C#, or at least the Windows Template Library (WTL) because those frameworks have pre-fabricated "wrappers" to easily give you an "HTML control" to embed in your window. If you re trying to use plain C, without MFC, WTL, .NET, C#, or even any C++ code at all, then there is a dirth of examples and information how to deal with OLE/COM objects such as IE s IWebBrowser2. Here is an article and working example in C to specifically show you what you need to do in order to embed IE in your own window, and more generally, show you how to interact with OLE/COM objects and create your own objects in plain C.
- 2022-03-02 15:03:00下载
- 积分:1
-
CPU 算法
这是一个模拟的 CPU 算法的最短作业优先和循环赛。这可以帮助您的项目和案例研究。而且这我的编译。所以下降自由地看我的代码,以帮助其他人。谢谢你的积分。愿上帝保佑
- 2022-02-13 14:05:17下载
- 积分:1