
Windows
文章平均质量分 64
牛仔好鬼忙
Hope is a good thing, maybe the best of things and no good thing ever dies!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
windows 使用技巧
Windows7启用关闭休眠功能 以管理员启动命令行窗口,输入powercfg -h on来启动休眠 通过dir c:\ /ah来查看hiberfile.sys文件给创建,该文件大小与物理内存大小一致 通过powercfg -h off来关闭休眠,同时删除上述文件。原创 2012-12-24 09:11:37 · 865 阅读 · 0 评论 -
windows下mingw与codeblock环境下开发mysql
1. 安装codeblock 2. 下载mysql-connector-c压缩包 codeblock添加额外的头文件原创 2014-10-08 16:08:17 · 1283 阅读 · 0 评论 -
windows下mingw与eclipse cdt的环境搭建
安装mingw编译器模拟gcc/g++原创 2014-10-08 12:34:15 · 617 阅读 · 0 评论 -
LoadLibrary和GetModuleHandle的区别
LoadLibrary是把一个模块映射进调用进程的地址空间,需要时增加引用计数,每调用一次,引用计数增加一,需要通过相同步骤地调用FreeLibrary来减少引用次数,当为0时,系统卸载DLL。 HMODULE WINAPI LoadLibrary( __in LPCTSTR lpFileName ); lpFileName 如果提供了路径(须使用backslashes(\),不要使用原创 2013-01-09 15:42:07 · 10943 阅读 · 0 评论 -
Operating System Version
methods 1. GetVersion function Retrieves the version number of the current operating system. Note This function has been superseded by GetVersionEx. New applications should use GetVersionEx o原创 2013-01-05 18:31:49 · 2330 阅读 · 0 评论 -
NLS编程
NLS(National Language Support) Background(背景) Each language has a language name and a language identifierthat indicate the particular code page (ANSI, DOS, Macintosh) used to represent the geographi原创 2013-01-05 17:07:58 · 930 阅读 · 0 评论 -
分析IPMSG源代码
WinMain与main WinMain的原型: int CALLBACK WinMain( __in HINSTANCE hInstance, __in HINSTANCE hPrevInstance, __in LPSTR lpCmdLine, __in int nCmdShow ); WinMain的定义: WinMain is the co原创 2013-01-03 14:20:07 · 2291 阅读 · 0 评论 -
C#多线程实现方法——Task/Task.Factary
Task 使用 Task以及Task.Factory都是在.Net 4引用的。Task跟Thread很类似,通过下面例子可以看到。 static public void ThreadMain() { Thread t1 = new Thread(TaskWorker); t1.Start(3);原创 2012-12-27 15:56:17 · 33867 阅读 · 0 评论 -
SEH结构异常处理使用
编译错误 error C2712: Cannot use __try in functions that require object unwinding 附录: SEH异常代码 define in #define WAIT_IO_COMPLETION STATUS_USER_APC #define STILL_ACTIVE原创 2012-12-27 09:44:03 · 2627 阅读 · 0 评论 -
linux 时间同步
ntpdate 时间服务器的地址或者域名转载 2014-11-12 17:32:26 · 459 阅读 · 0 评论