大约有 13,000 项符合查询结果(耗时:0.0252秒) [XML]

https://www.tsingfun.com/it/cpp/1443.html 

c++ Timer使用总结 - C/C++ - 清泛网 - 专注C/C++及内核技术

...R() ... END_MESSAGE_MAP() 控制台程序使用Timer: #include <windows.h> #include <iostream> VOID CALLBACK TimerProc(HWND hwnd, UINT uMsg, UINT idEvent, DWORD dwTime) { std::cout << "hello " << std::endl; } void main() { int timer1 = 1; MSG msg;...
https://www.tsingfun.com/it/cpp/1447.html 

WSAAsyncSelect模型 - C/C++ - 清泛网 - 专注C/C++及内核技术

WSAAsyncSelect模型WSAAsyncSelect模型允许应用程序以Windows消息的方式接收网络事件通知。许多对性能要求不高的网络应用程序都采用WSAAsyncSelect模型,MFC的...WSAAsyncSelect模型允许应用程序以Windows消息的方式接收网络事件通知。许多对...
https://www.tsingfun.com/it/cpp/1492.html 

vc/mfc *通配符 批量删除文件 - C/C++ - 清泛网 - 专注C/C++及内核技术

...亲测有效,使用SHFileOperation函数:#include "stdafx.h"#include <windows.h>int _tmain(int argc, _TCHAR*...直接上代码,可直接运行亲测有效,使用SHFileOperation函数: #include "stdafx.h" #include <windows.h> int _tmain(int argc, _TCHAR* argv[]) { LPTSTR de...
https://www.tsingfun.com/it/cpp/1498.html 

c++读注册表 - C/C++ - 清泛网 - 专注C/C++及内核技术

...表直接上代码:CString key;key.Format(_T("Software Microsoft Windows CurrentVersion App Paths xxx"));HKEY hKey;LONG rc = R...直接上代码: CString key; key.Format(_T("Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\xxx")); HKEY hKey; LONG rc = RegOpenKey(HKEY...
https://www.tsingfun.com/it/cpp/1574.html 

MFC 多线程编程简单实例 - C/C++ - 清泛网 - 专注C/C++及内核技术

... 多线程编程简单实例简单的例子:#include "stdafx.h"#include <windows.h>DWORD WINAPI ThreadProc(LPVOID lpParam){ printf("ThreadProc...简单的例子: #include "stdafx.h" #include <windows.h> DWORD WINAPI ThreadProc(LPVOID lpParam) { printf("ThreadProc\n"); ...
https://www.tsingfun.com/it/cpp/2048.html 

vc第三方界面库BCGControlBar与Xtreme Toolkit对比 - C/C++ - 清泛网 - 专注C/C++及内核技术

...vc第三方界面库。与BCG一样,Xtreme同样支持最新的VS2013和Windows 8.1。它最大的特色就是集成了11个高度优化的界面组件:Command Bars, Controls, Chart Pro, Calendar, Docking Pane, Property Grid, Report Control, Shortcut Bar, Syntax Edit, Skin Framework 和 Task Pan...
https://www.tsingfun.com/it/cpp/2052.html 

coinitialize失败,返回值是0x80010106 无法在设置线程模式后对其加以更改 ...

...THREADED); 问题得以解决。 CoInitialize、CoInitializeEx都是windows的API,主要是告诉windows以什么方式为程序创建COM对象,原因是程序调用com库函数(除CoGetMalloc和内存分配函数)之前必须初始化com库。 有哪些方式呢?单线程和多...
https://www.tsingfun.com/it/te... 

解决 A potentially dangerous Request.Form value was detected from the ...

...ous-RequestrequestValidationMode validateRequest近日有客户在升级到Windows 2012 Server后,发现部分表单无法保存,经测试是由于使用了ASP.NET 4.0,默认安全性设置较高造成的。当表单...近日有客户在升级到Windows 2012 Server后,发现部分表单无...
https://www.tsingfun.com/it/tech/1258.html 

TortoiseSVN允许修改日志的方法 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...以通过服务端的hooks目录下的批处理使得SVN日志可修改。Windows版:服务器端svn仓库hooks目录下加...SVN默认是不允许修改日志的,否则报错: 可以通过服务端的hooks目录下的批处理使得SVN日志可修改。 Windows版: 服务器端svn仓...
https://www.tsingfun.com/it/tech/1684.html 

Outlook 开机自动启动 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...始菜单 -> 启动Win10下:C: Users xxx AppData Roaming Microsoft Windows Start Me...把Outlook快捷方式拷贝到启动文件夹中即可。 Win7:开始菜单 -> 启动 Win10下: C:\Users\xxx\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup (红色部分...