Azure/C++/C#/Java/Asp.net/JavaScript/Html - MFC/COM/ActiveX/eclipse/Web

dlbrant

working soft

博客园 首页 新随笔 管理

2014年2月21日 #

摘要: 【转载】http://www.cnblogs.com/itech/archive/2011/07/21/2110924.htmlAuthenticode : 这里翻译为数字认证代码。 code sign : 字面的翻译为代码签名,但是通常的我们称为数字签名,以下的文中均称为数字签名。 一 数字认证码如果你是软件开发人员,你可能已经知道windows系统和一些浏览器(例如IE,Firefox)使用一种称为数字认证代码的技术来标识软件的发行商,来检查软件没有被病毒影响。如果你的软件没有用数字认证代码签名,用户将会收到一个警告“此软件发行商不能被成功的验证,你是否要继续运行此软件“,很多的用户为.. 阅读全文
posted @ 2014-02-21 23:01 dlbrant 阅读(1292) 评论(0) 推荐(0) 编辑

2014年1月24日 #

摘要: 原帖 http://blog.sina.com.cn/s/blog_6b7c56870100l8rf.html__cdecl __fastcall与 __stdcall 调用约定: __cdecl __fastcall与 __stdcall,三者都是调用约定(Calling convention),它决定以下内容:1)函数参数的压栈顺序,2)由调用者还是被调用者把参数弹出栈,3)以及产生函数修饰名的方法。 1、__stdcall调用约定:函数的参数自右向左通过栈传递,被调用的函数在返回前清理传送参数的内存栈, 2、_cdecl是C和C++程序的缺省调用方式。每一个调用它的函数都包含清空堆栈的代 阅读全文
posted @ 2014-01-24 15:02 dlbrant 阅读(216) 评论(0) 推荐(0) 编辑

2013年11月25日 #

摘要: 地砖十大品牌:诺贝尔、马可波罗、蒙娜丽莎、冠珠、东鹏、冠军卫生间墙砖:冠珠的 88/平, 阅读全文
posted @ 2013-11-25 10:02 dlbrant 阅读(128) 评论(0) 推荐(0) 编辑

2013年8月15日 #

摘要: // This goes past the ATL includes#import "C:/WINDOWS/system32/Macromed/Flash/Flash9e.ocx" named_guids, rename_namespace("Flash")Flash::IShockwaveFlash * flash = NULL; hr = spDispatch->QueryInterface(__uuidof(Flash::IShockwaveFlash), (void **) &flash);flash->GetVariable 阅读全文
posted @ 2013-08-15 12:01 dlbrant 阅读(303) 评论(0) 推荐(0) 编辑

2013年7月10日 #

摘要: 不错的总结:http://hi.baidu.com/wangxvfeng101/item/518f6efdab4e5616ff35820ehttp://www.vckbase.com/index.php/wv/1562 阅读全文
posted @ 2013-07-10 10:16 dlbrant 阅读(151) 评论(0) 推荐(0) 编辑

2013年7月9日 #

摘要: CString CXXUtil::FormatMessageFor(HRESULT hr){ CString strMsg; LPVOID pvMsgBuf = NULL; LPCTSTR pszMsg = NULL; if(FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, (DWORD)hr, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (... 阅读全文
posted @ 2013-07-09 14:46 dlbrant 阅读(665) 评论(0) 推荐(0) 编辑

摘要: which type of VS files should be committed into a version control system?aps, no: last resource editor statecpp, yes: source codeexe, no: build resultfilters, yes: project fileh, yes: source codeico, yes: resourceidb, no: build stateipch, no: build helperlastbuildstate, no: build helperlib, no: buil 阅读全文
posted @ 2013-07-09 11:08 dlbrant 阅读(185) 评论(0) 推荐(0) 编辑

2013年6月30日 #

摘要: 作业(Job)有时候需要把一些进程集中管理,如终止一个进程以及它产生的子进程,但由于Windows并没有维护进程间父子关系,所以除非进程本身以某种方式记录这些信息,否则很难做到管理这种父子进程树。而作业(job)恰好能解决这一问题。Job就像是一个"沙箱"或者进程容器,不仅能将多个进程放在一起管理,还能对其包含的进程施加额外的限制,例如:作业中的进程能使用的CPU时间,是否能注销,是否能方位用户对... 阅读全文
posted @ 2013-06-30 00:52 dlbrant 阅读(531) 评论(0) 推荐(0) 编辑

2013年6月28日 #

摘要: <= IE6:IE6 下如果iframe很多,子框架的BeforeNavigate2,DownloadBegin,DownloadComplete,DocumentComplete可能交替出现打开新网页刷新现有页面主窗口 BeforeNavigate2 (top most)主窗口 DownloadBegin (top most)主窗口 DownloadComplete(top most)主窗口DownloadBegin (top most)主窗口DownloadComplete(top most)主窗口 DownloadBegin (top most)主窗口 NavigateComple 阅读全文
posted @ 2013-06-28 13:37 dlbrant 阅读(698) 评论(0) 推荐(0) 编辑

2013年6月25日 #

摘要: 结构化异常不能用于需要调用对象析构函数的函数中__try{}__except(){}__try{}__finally{} 阅读全文
posted @ 2013-06-25 11:29 dlbrant 阅读(226) 评论(0) 推荐(0) 编辑

Software