摘要: 0,http://technet.microsoft.com/en-us/sysinternals Windows Sysinternals工具套件,包括一系列的windows平台下的工具。1,winmerge,你还在用破解的UtralCompare么? 更强大更开放的文件/文件夹对比,合并工具 。... 阅读全文
posted @ 2014-03-11 13:39 *神气* 阅读(893) 评论(2) 推荐(0) 编辑
摘要: 注意:本文仅为个人理解,可能有误! 先看一段代码: #include using namespace std;class CBase{public: CBase() { coutpvtable-> vtable[0],又pObj这个对象实际上是CSon对象,所以调用流程如下: delete pObj; –> call pObj->pvtable-> vtabl... 阅读全文
posted @ 2014-03-07 17:34 *神气* 阅读(1279) 评论(0) 推荐(0) 编辑
摘要: 工具-附加组件-卸载 即可。 这玩意真心坑爹,起这个名字的人绝对是吃屎了,这名字怎么和鼠标拖拽混到一起的 !!! 关键字:火狐;鼠标;鼠标拖拽;鼠标手势;关闭 阅读全文
posted @ 2014-03-03 11:19 *神气* 阅读(1628) 评论(0) 推荐(0) 编辑
摘要: 原网页:http://www.fatalist.im/blog/459.html google将谷歌中文网站google.cn的搜索服务转向到google.com.hk(香港)后,firefox右上角里的google搜索引擎还是用google.cn的域名跳转到google.com.hk,所以打开的速度会很慢。 于是google到这个帖子,终于解决了这个问题。方法:到这个页面,添加Google ... 阅读全文
posted @ 2014-03-03 10:52 *神气* 阅读(437) 评论(0) 推荐(1) 编辑
摘要: 以下是我搜集的关于MPEG1/2的编解码相关的资料:(注:mpge帧内编码是基于jpeg编码的,所以请务必先理解jpeg的编解码原理。)1:Introduction to MPEG 2 Video Compression http://www.bretl.com/mpeghtml/mpeg2vc1.HTM2:Motion_compensation http://en.wikipedia.org/wiki/Motion_compensation3: A Beginners Guide for MPEG-2 Standard http://www.iem.thm.de/telekom-... 阅读全文
posted @ 2014-02-28 09:28 *神气* 阅读(298) 评论(0) 推荐(0) 编辑
摘要: BOOL Is64BitOS(){ typedef VOID (WINAPI *LPFN_GetNativeSystemInfo)( __out LPSYSTEM_INFO lpSystemInfo ); LPFN_GetNativeSystemInfo fnGetNativeSystemInfo = (LPFN_GetNativeSystemInfo)GetProcAddres... 阅读全文
posted @ 2014-02-21 14:22 *神气* 阅读(5706) 评论(0) 推荐(0) 编辑
摘要: 最近一个项目中碰到GetWindowText经常卡死的问题,这个项目有多个线程,检查代码发现发生死锁的是一个数据线程和一个UI线程。 示意图大致如下(data thread和UI thread在同一个进程中): 1,data thread Lock(); 2,data thread GetWindowText 会SendMessage(WM_GETTEXT) 给 UI window; ... 阅读全文
posted @ 2014-02-17 13:21 *神气* 阅读(1834) 评论(0) 推荐(0) 编辑
摘要: Tips: VC++在新建一个.asm文件后必须重新导入project中才能进行编译。 下面是一个汇编与C++相互调用的例子: Main.cpp #include #include #include class CTest{public: void Init() { m_nSize = 100; m_pContent = new char[m_n... 阅读全文
posted @ 2014-02-08 14:37 *神气* 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 先看下方的代码,我们所处的context在>>处,只知道上面这些类的信息和pX指针,怎么判断pX指向对象的类型?#include #include class CBase{public: virtual void message() { printf("hello , this is base\n"); }};class CContainerA : public CBase{public: virtual void message() { printf("hello , this is A\n"); }};class CConta... 阅读全文
posted @ 2014-01-07 14:39 *神气* 阅读(496) 评论(0) 推荐(0) 编辑
摘要: x86及x64 windows系统下的inline hook实现 阅读全文
posted @ 2014-01-06 13:31 *神气* 阅读(4160) 评论(3) 推荐(0) 编辑