<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Nelson Chen的专栏]]></title><description><![CDATA[技术杂谈]]></description><link>https://blog.youkuaiyun.com/nelsonc</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; nelsonc]]></copyright><item><title><![CDATA[ADO/OLE DB数据源对话框]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/436884</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/436884</guid><author>nelsonc</author><pubDate>Thu, 28 Jul 2005 09:59:00 +0800</pubDate><description><![CDATA[这篇文章实际上就是一段代码。#include  hr = CoCreateInstance(    CLSID_DataLinks,    NULL,    CLSCTX_INPROC_SERVER,    IID_IDataInitialize,    reinterpret_cast(&pIDataInitialize)); // Prompt the user to view/e]]></description><category></category></item><item><title><![CDATA[在VB中把字符串转换成Byte数组]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/397822</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/397822</guid><author>nelsonc</author><pubDate>Sun, 19 Jun 2005 16:13:00 +0800</pubDate><description><![CDATA[使用strConv在字符串和数组间转换。    Dim Value() As Byte    Dim strValue As String    Value = StrConv(strValue, vbFromUnicode)  字符串转成数组    strValue= StrConv(Value, vbToUnicode)        数组转成字符串strConv是一个功能强大的函数，想了]]></description><category></category></item><item><title><![CDATA[在Flash中使用Tween]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/397820</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/397820</guid><author>nelsonc</author><pubDate>Sun, 19 Jun 2005 16:05:00 +0800</pubDate><description><![CDATA[Tween是控件中生成动画的作简单方法，示例代码如下：import mx.effects.Tween;var tween:Tween;tween = new Tween(moveComp_mc, 100, 200, 1000);moveComp_mc.onTweenUpdate = function(curVal){ this._x = curVal;}]]></description><category></category></item><item><title><![CDATA[使用Microsoft XML Dom进行base64编码]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/397806</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/397806</guid><author>nelsonc</author><pubDate>Sun, 19 Jun 2005 15:37:00 +0800</pubDate><description><![CDATA[本文介绍如何使用Microsoft的XML支持实现base64编码。[使用语言VB、VC++等] 以下实例使用VB编写，大家可以方便的将其转换成VC++或其它编程语言。 1.      Base64编码函数 Function Base64Encode(Source() As Byte) As String    Dim MainXml As New DOMDocument     MainXml.]]></description><category></category></item><item><title><![CDATA[在Flash中使用style]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/391887</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/391887</guid><author>nelsonc</author><pubDate>Fri, 10 Jun 2005 18:26:00 +0800</pubDate><description><![CDATA[设置style（安优先级排序）： 1.      直接设置var myButton:Button;myButton.setStyle(“fontSize”, 20); 2.      使用CSS对象设置（styleName）var styleObj = new mx.styles.CSSStyleDeclaration();styleObj.setStyle(“fontSize”, 20);sty]]></description><category></category></item><item><title><![CDATA[Building Flash Component]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/390825</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/390825</guid><author>nelsonc</author><pubDate>Thu, 09 Jun 2005 09:30:00 +0800</pubDate><description><![CDATA[1.    Component基础Component本质上是一个Movie Clip。与普通Movie Clip不同的是：Component自身可以提供property、method等特性，而且可以给其它Flash用户使用。Flash MX 2004支持fla、swf和swc格式的component，我们这里只讲swc格式组件的制作方法。Flash MX 2004所提供的标准组件都是swc格式的。]]></description><category></category></item><item><title><![CDATA[DevPartner的Error Detection不能检查ASP.NET项目]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/381216</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/381216</guid><author>nelsonc</author><pubDate>Thu, 26 May 2005 10:55:00 +0800</pubDate><description><![CDATA[如题，如果在aspnet_wp.exe上添加bc7作为debugger，会导致网页无法启动。具体做法：在注册表“HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Image File Execution Options”下添加Key“aspnet_wp.exe”，在这个Key下添加字符Value“Debugger”，数值]]></description><category></category></item><item><title><![CDATA[共享数据段]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/381198</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/381198</guid><author>nelsonc</author><pubDate>Thu, 26 May 2005 10:47:00 +0800</pubDate><description><![CDATA[在源代码中指定全局变量所在的段名，这里用".Shared".#pragma data_seg(".Shared")int data = 0;#pragma data_seg()在link的参数中添加：（注意段名".Shared"要一至）/SECTION:.Shared,RWS这样，全局变量data就可以在多个进程中只有一个内存地址。问题：在Terminal Server中，这种共享是否仍然有效？]]></description><category></category></item><item><title><![CDATA[在IE中使用控件的安全性]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/377008</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/377008</guid><author>nelsonc</author><pubDate>Fri, 20 May 2005 17:31:00 +0800</pubDate><description><![CDATA[1. 实现IObjectSafety接口2. 使用Category，实现CATID_SafeForScripting和CATID_SafeForInitializing类型]]></description><category></category></item><item><title><![CDATA[Windows下的BITS服务]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/357531</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/357531</guid><author>nelsonc</author><pubDate>Thu, 21 Apr 2005 20:33:00 +0800</pubDate><description><![CDATA[BITS(Background Intelligent Transfer Service)是在Windows2000 SP3以上新增加的文件传输服务，支持连线自动启动和断点续传的功能。BITS可以上传也可以下载。BITS提供COM接口，所以可以在HTML的脚本中方便的使用。]]></description><category></category></item><item><title><![CDATA[在COM中使用数组参数-ICollection]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/10860</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/10860</guid><author>nelsonc</author><pubDate>Tue, 15 Jul 2003 16:16:00 +0800</pubDate><description><![CDATA[在COM中使用数组参数-ICollection关键字：DCOM、数组、自定义类型、Marshal、SafeArray、ICollection1      使用ICollectionICollection是从 IDispatch继承的接口。ICollection还需要一个IEnumVARIANT接口配合实现功能。IEnumVARIANT是从IUnknown继承的，而不是从IDispatc]]></description><category></category></item><item><title><![CDATA[在COM中使用数组参数-SafeArray]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/10859</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/10859</guid><author>nelsonc</author><pubDate>Tue, 15 Jul 2003 16:16:00 +0800</pubDate><description><![CDATA[在COM中使用数组参数-SafeArray关键字：DCOM、数组、自定义类型、Marshal、SafeArray、ICollection1      使用SafeArraySafeArray是VB中的数组存储方式。通过SafeArray，可以在VC++和VB间相互调用。SafeArray也是Automation中的标准数组存储方式。1.1     SafeArray处理函数CO]]></description><category></category></item><item><title><![CDATA[在COM中使用数组参数-数组指针]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/10858</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/10858</guid><author>nelsonc</author><pubDate>Tue, 15 Jul 2003 16:16:00 +0800</pubDate><description><![CDATA[在COM中使用数组参数-数组指针关键字：DCOM、数组、自定义类型、Marshal、SafeArray、ICollection1      使用数组指针数组指针使用标准的C/C++数组表示方式。数组中的每个元素按照顺序在内存中依次排放。数组的下标从0开始计算。数组的第一个元素（下标为0的元素）的地址就是数组的指针，数组中每个元素所占的内存空间大小必须是固定的，只和数组类型有关。计算数组]]></description><category></category></item><item><title><![CDATA[在COM中使用数组参数--概述]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/10857</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/10857</guid><author>nelsonc</author><pubDate>Tue, 15 Jul 2003 16:15:00 +0800</pubDate><description><![CDATA[在COM中使用数组参数-概述关键字：DCOM、数组、自定义类型、Marshal、SafeArray、ICollection 本文讲述在COM的接口中使用数组作为参数的三种方法。它们分别是：数组指针、SafeArray和ICollection。文章分析了各种方法的优缺点。本文的目的不是描述COM的基本原理和开发方法。为了能够更好的理解本文中的内容，读者需要具备基本的COM编程知识。1]]></description><category></category></item><item><title><![CDATA[在VC++程序中接收COM事件]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/10856</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/10856</guid><author>nelsonc</author><pubDate>Tue, 03 Jun 2003 07:48:00 +0800</pubDate><description><![CDATA[在VC++程序中接收COM事件关键字：连接点 COM 事件 IDispEventImpl 接收事件是COM客户端中非常重要的功能。但是除了在MFC中能够接收控件[1]所发出的事件以外，VC++不能自动生成接收事件的代码。为了接收普通COM的事件，必须自行编写接收事件的代码。本文通过一个具体的实例说明如何在VC++程序中通过ATL编写接收COM事件的代码，当然，程序本身不必是ATL项目。]]></description><category></category></item><item><title><![CDATA[使用ATL建立支持IClassFactory2的COM组件]]></title><link>https://blog.youkuaiyun.com/nelsonc/article/details/10855</link><guid>https://blog.youkuaiyun.com/nelsonc/article/details/10855</guid><author>nelsonc</author><pubDate>Tue, 03 Jun 2003 07:48:00 +0800</pubDate><description><![CDATA[使用ATL建立支持IClassFactory2的COM组件 关键字：COM、IClassFactory2、对象创建权限、License、License Key 本文详细描述了如何使用ATL自身的功能创建具有创建权限功能的COM对象。最后还讲述了如何创建具有固定和临时权限的COM对象，以及如何获取注册码。1      概述IClassFactory2接口的作用是为给COM]]></description><category></category></item></channel></rss>