Angelo Lee's Blog
This is my kingdom .If i don't fight for it ,who will ?
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 55 下一页
摘要: 相信很多CPPers跟我一样,曾经在指针和引用里徘徊了很久很久。经常弄混指针和引用,尤其是见到如题中列出那些用法,着实是伤脑经。后来,在项目中用着用着,就能搞清楚区别了,算是会用吧。然而,对于一个Programmer,最忌讳的就是不知其所以然,会用和懂是两番天地。停留在会用的人,始终是原地打转;而懂的人,一通百通,能举一反三。本文,就如题的指针和引用的用法做一个介绍。首先我们来普及一下概念,说明一下什么是指针和引用,这里借用一下变量名作为过渡。 ■指针 ---- 指向某一块内存的变量,其本身存储的信息就是内存地址的首地址,其类型决定指向内存的大小。 比喻,超... 阅读全文
posted @ 2012-11-19 22:22 Angelo Lee 阅读(437) 评论(0) 推荐(0) 编辑
摘要: A Complete ActiveX Web Control TutorialIntroductionActiveX is a Microsoft technology developed in the mid 90’s, that allows for the creation of applet-like applications that can be downloaded and run within Microsoft's Web browser. This article is intended for Visual C++ developers who are tryin 阅读全文
posted @ 2012-11-18 19:23 Angelo Lee 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 1.Create MFC ProjectStep1:Open VS 2010 and create a MFC ActiveX Control project named “GetSystemTime”. Then click OK.Step2:In Control Settings tab keep the following item checked. Then click Finish.The VS2010 will create the necessary framework files for you.Step3:Configure project properties. Open 阅读全文
posted @ 2012-11-18 16:55 Angelo Lee 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 1.IntroductionINF文件全称InformationFile文件,是Winodws操作系统下用来描述设备或文件等数据信息的文件。INF文件是纯文本文件,由标准的ASCII码组成。一般我们总是认为INF文件是系统设备的驱动程序,其实这是错误的认识,Windows之所以在安装某些硬件的驱动时提示需要INF文件是因为INF文件为该设备提供了一个全面描述硬件参数和相应驱动文件(DLL文件)的信息。就好比我们看着说明书安装电脑硬件一样,我们就是Windows系统,说明书就是INF文件。INF文件功能非常强大,几乎能完成日常操作的所有功能。您可以把它看成是Windows系统底下的超强批初理。2 阅读全文
posted @ 2012-11-17 15:03 Angelo Lee 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 问题:重装系统后打开工程,编译时发生错误,错误信息:Error5An error occurred while signing: Failed to sign bin\Debug\app.publish\\setup.exe. SignTool Error: ISignedCode::Sign returned error: 0x80880253The signer's certificate is not valid for signing.SignTool Error: An error occurred while attempting to sign: bin\Debug\ap 阅读全文
posted @ 2012-11-17 14:17 Angelo Lee 阅读(528) 评论(0) 推荐(0) 编辑
摘要: Sometimes Unix system administrators may end-up managing few Windows servers. If that ever happens to you, be prepared to do some basic administrative tasks on Windows. In this article, let us discusshow to sign microsoft executables and DLL.Why digitally sign executable and other windows files?You 阅读全文
posted @ 2012-11-17 01:28 Angelo Lee 阅读(299) 评论(0) 推荐(0) 编辑
摘要: PE 的意思就是 Portable Executable(可移植的执行体)。PE文件结构的总体层次分布图:--------------|DOS MZ Header ||--------------||DOS Stub ||--------------||PE Header ||--------------||Section Table ||--------------||Section 1 ||--------------||Section 2 ||--------------||Section ... ||--------------||Section n |--------------一、 阅读全文
posted @ 2012-11-16 12:35 Angelo Lee 阅读(290) 评论(1) 推荐(0) 编辑
摘要: /// <summary> /// 转全角(SBC case) /// </summary> /// <param name="input">任意字符串</param> /// <returns>全角字符串</returns> public static string ToSBC(this string input) { char[] c = input.ToCharArray(); for (int i = 0; i < c.Length; i++) ... 阅读全文
posted @ 2012-11-16 12:20 Angelo Lee 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 1.IntroductionInternet 软件分发单位是“软件包”,它由包含.INF文件或软件分发.OSD文件(或两者都包括)的.CAB文件所组成。一个分发单位也可以包含软件组件,如 ActiveX 控件(.OCX)、.DLL文件、.EXE文件、Java类文件或小程序。当Web页上OBJECT元素的CODEBASE特性引用包含.INF文件的. CAB文件时,Internet Explorer将自动把.CAB文件作为软件分发单位下载并安装,每次访问时还会自动检测版本并进行更新。INF文件是一个文本文件,指定运行控件所需要下载或者呈交的文件(比如.DLL或者其它.OCX)。一个.INF文件就捆 阅读全文
posted @ 2012-11-16 12:15 Angelo Lee 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 1.Create Windows Form Control Library Project2.Implement the safety interfaceMicrosoft support link:How To IObjectSafety Marks ATL Controls Safe for InitializingSummary:You can use the default implementation of IObjectSafetyImpl to mark a control as safe for scripting. In many cases, you will also w 阅读全文
posted @ 2012-11-13 23:14 Angelo Lee 阅读(207) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 55 下一页