<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/sukhoeing" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/sukhoeing" type="application/rss+xml"></fs:self_link><lastBuildDate>Tue, 25 Dec 2007 21:31:00 GMT</lastBuildDate><title>陈锋-TechBlog</title><description>思考，实践，交流</description><link>http://blog.csdn.net/sukhoeing/</link><item><title>如何得知一个__ComObject对象的实际类型</title><link>http://blog.csdn.net/sukhoeing/archive/2007/12/25/1967139.aspx</link><wfw:comment>http://blog.csdn.net/sukhoeing/comments/1967139.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/sukhoeing/comments/commentRss/1967139.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1967139</trackback:ping><description>如何得知一个__ComObject对象的实际类型&lt;img src =&quot;http://blog.csdn.net/sukhoeing/aggbug/1967139.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 26 Dec 2007 05:31:00 +0800</pubDate><author>陈锋</author><comments>http://blog.csdn.net/sukhoeing/archive/2007/12/25/1967139.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/sukhoeing/archive/2007/12/25/1967139.aspx</guid><dc:creator>陈锋</dc:creator></item><item><title>一个双向链表的单指针实现</title><link>http://blog.csdn.net/sukhoeing/archive/2007/11/27/1904235.aspx</link><wfw:comment>http://blog.csdn.net/sukhoeing/comments/1904235.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/sukhoeing/comments/commentRss/1904235.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1904235</trackback:ping><description>双向链表的单指针实现，用于某些内存异常紧张的领域&lt;img src =&quot;http://blog.csdn.net/sukhoeing/aggbug/1904235.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 27 Nov 2007 23:11:00 +0800</pubDate><author>陈锋</author><comments>http://blog.csdn.net/sukhoeing/archive/2007/11/27/1904235.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/sukhoeing/archive/2007/11/27/1904235.aspx</guid><dc:creator>陈锋</dc:creator></item><item><title>C++学习 - 快速排序，更加优化的实现</title><link>http://blog.csdn.net/sukhoeing/archive/2007/11/23/1897255.aspx</link><wfw:comment>http://blog.csdn.net/sukhoeing/comments/1897255.aspx</wfw:comment><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/sukhoeing/comments/commentRss/1897255.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1897255</trackback:ping><description>头文件：
   1:  #pragma once   2:  #include &amp;lt;vector&amp;gt;   3:  &amp;nbsp;   4:  namespace FengChen   5:  {   6:  &amp;nbsp;   7:  template&amp;lt;typename T&amp;gt;    8:  class QuickSortDemo   9:  {  10:  public:  11:      QuickSortDemo(void){}  12:      ~QuickSortDemo(void){}  13:  &amp;nbsp;  14:      void DoSort(std::vector&amp;lt;T&amp;gt;&amp;amp; );  15:  &amp;nbsp;  16:      T Select(const std::vector&amp;lt;T&amp;gt;&amp;amp; Input, unsigned i); // 线性时间复杂度的选择第i小值的算法，递归版本  17:  private:  18:      // 选择轴值  19:      unsigned SelectPivot(&lt;img src =&quot;http://blog.csdn.net/sukhoeing/aggbug/1897255.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 23 Nov 2007 08:39:00 +0800</pubDate><author>陈锋</author><comments>http://blog.csdn.net/sukhoeing/archive/2007/11/23/1897255.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/sukhoeing/archive/2007/11/23/1897255.aspx</guid><dc:creator>陈锋</dc:creator></item><item><title>Effective C++学习记录之Things To Remember</title><link>http://blog.csdn.net/sukhoeing/archive/2007/11/19/1891345.aspx</link><wfw:comment>http://blog.csdn.net/sukhoeing/comments/1891345.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/sukhoeing/comments/commentRss/1891345.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1891345</trackback:ping><description>Effective C++的Things to remember之总结&lt;img src =&quot;http://blog.csdn.net/sukhoeing/aggbug/1891345.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 19 Nov 2007 17:13:00 +0800</pubDate><author>陈锋</author><comments>http://blog.csdn.net/sukhoeing/archive/2007/11/19/1891345.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/sukhoeing/archive/2007/11/19/1891345.aspx</guid><dc:creator>陈锋</dc:creator></item><item><title>目前.net平台上的支持的语言列表</title><link>http://blog.csdn.net/sukhoeing/archive/2007/11/18/1890622.aspx</link><wfw:comment>http://blog.csdn.net/sukhoeing/comments/1890622.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/sukhoeing/comments/commentRss/1890622.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1890622</trackback:ping><description>.NET Language Sites列出了目前target到.net平台的所有语言。值得一看哦，貌似比target到JVM的多哦。而且下面列举了一些关于CLR方面比较深入的书籍，很多非常值得一看的说。 顺便BS下Eclipse的速度，同样是open source，怎么和sharpdevelop差距那么大呢？本来VS05的速度也很慢，不过VS08的性能就提高了很多。&lt;img src =&quot;http://blog.csdn.net/sukhoeing/aggbug/1890622.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 18 Nov 2007 23:22:00 +0800</pubDate><author>陈锋</author><comments>http://blog.csdn.net/sukhoeing/archive/2007/11/18/1890622.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/sukhoeing/archive/2007/11/18/1890622.aspx</guid><dc:creator>陈锋</dc:creator></item><item><title>关于.net中反射的一个小问题</title><link>http://blog.csdn.net/sukhoeing/archive/2007/11/18/1890584.aspx</link><wfw:comment>http://blog.csdn.net/sukhoeing/comments/1890584.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/sukhoeing/comments/commentRss/1890584.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1890584</trackback:ping><description>若果一个函数有个参数是传引用的，比如ref 或者out，该如何得到被修改的结果呢？请看如下的代码Int32[] input = new Int32{1,2};txtOut.AppendText(input.Length.ToString() + Environment.NewLine);// txtOut is a multiline enabled textbox in my test formMethodInfo info = typeof(Array).GetMethod(&quot;Resize&quot;).MakeGenericMethod(typeof(Int32));Object[] paras = new Object[] { input, 4 }; //如果是out型的，直接传个null就行。info.Invoke(null, BindingFlags.InvokeMethod, null, paras, null);input = paras[0] as Int32[]; // get the written argumentCLR似乎会修改掉&lt;img src =&quot;http://blog.csdn.net/sukhoeing/aggbug/1890584.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 18 Nov 2007 23:08:00 +0800</pubDate><author>陈锋</author><comments>http://blog.csdn.net/sukhoeing/archive/2007/11/18/1890584.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/sukhoeing/archive/2007/11/18/1890584.aspx</guid><dc:creator>陈锋</dc:creator></item><item><title>关于.Net安全性的两个小问题</title><link>http://blog.csdn.net/sukhoeing/archive/2007/11/18/1891028.aspx</link><wfw:comment>http://blog.csdn.net/sukhoeing/comments/1891028.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/sukhoeing/comments/commentRss/1891028.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1891028</trackback:ping><description>1.如何在.Net 程序你检查当前的windows安全设置以及CAS安全设置检查当前程序是否有admin的权限：String			sddlAdmins = &quot;S-1-5-32-544&quot;;  //Sid of administrators group		IdentityReference			AdminsSid = new			SecurityIdentifier(sddlAdmins);		if (WindowsIdentity.GetCurrent().Groups.Contains(AdminsSid))		    Console.WriteLine(&quot;Running with admin rights!&quot;);		检查当前运行程序集的被CAS赋予的PermissionSets:How to Get Permissions Assign to Current Assembly in VS.NET 2005 Using C#. 另外如果要做一个允许客户加入自定义扩展的程序，该如何严格限制扩展dll的安全性呢，从两方面入手：1,用一个P&lt;img src =&quot;http://blog.csdn.net/sukhoeing/aggbug/1891028.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 18 Nov 2007 19:42:00 +0800</pubDate><author>陈锋</author><comments>http://blog.csdn.net/sukhoeing/archive/2007/11/18/1891028.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/sukhoeing/archive/2007/11/18/1891028.aspx</guid><dc:creator>陈锋</dc:creator></item><item><title>关于NTFS的Alternate Data Streams</title><link>http://blog.csdn.net/sukhoeing/archive/2007/11/18/1890782.aspx</link><wfw:comment>http://blog.csdn.net/sukhoeing/comments/1890782.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/sukhoeing/comments/commentRss/1890782.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1890782</trackback:ping><description>近日有人问起，如何在文件的摘要属性中增加一个自定义的项。起初我想到Office文档实际上是可以通过OLE来更改，但是其实有些文件比如Mp3，甚至txt文件也有摘要的，这些属性存放在那里呢，经过一番研究，发现实际上是存放在一个叫做Alternate Data Streams的地方，这个东东实际上是另外一个和当前文件相关联的文件。具体请看以下的link，并且你可以在程序中控制这个文件，最后code project 上已经有人给出sample了。我就懒得写了。Windows NTFS Alternate Data Streams			FAQ: Alternate Data Streams in NTFS			How To Use NTFS Alternate Data Streams			Manipulate Alternate Data Streams			&lt;img src =&quot;http://blog.csdn.net/sukhoeing/aggbug/1890782.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 18 Nov 2007 09:20:00 +0800</pubDate><author>陈锋</author><comments>http://blog.csdn.net/sukhoeing/archive/2007/11/18/1890782.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/sukhoeing/archive/2007/11/18/1890782.aspx</guid><dc:creator>陈锋</dc:creator></item><item><title>P/Invoke传递的callback中会用到的一个很有用的属性</title><link>http://blog.csdn.net/sukhoeing/archive/2007/11/17/1890661.aspx</link><wfw:comment>http://blog.csdn.net/sukhoeing/comments/1890661.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/sukhoeing/comments/commentRss/1890661.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1890661</trackback:ping><description>就像这个帖子中提到的，如果要调用C/C++ dll export出来的一个函数，并且要传一个callback的delegate进去，就会产生一个问题: delegate默认的函数调用约定是stdcall，但是C++端一般会要求这个callback是cdecl的。这个问题在.net 1.1中没有好的解决方法，只能反汇编你的assembly然后手动修改对应delegate的属性。在.net 2.0中，可以使用UnmanagedFunctionPointer Attribute来解决这个问题。因为它可以控制delegate中函数调用的calling convention。这个在.net CF编程中应该会比较有用，希望能够帮助有此需求的朋友。&lt;img src =&quot;http://blog.csdn.net/sukhoeing/aggbug/1890661.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 18 Nov 2007 07:43:00 +0800</pubDate><author>陈锋</author><comments>http://blog.csdn.net/sukhoeing/archive/2007/11/17/1890661.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/sukhoeing/archive/2007/11/17/1890661.aspx</guid><dc:creator>陈锋</dc:creator></item><item><title>又一个关于反射的问题</title><link>http://blog.csdn.net/sukhoeing/archive/2007/11/17/1890642.aspx</link><wfw:comment>http://blog.csdn.net/sukhoeing/comments/1890642.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/sukhoeing/comments/commentRss/1890642.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1890642</trackback:ping><description>一个客户说，他想通过load一个winform的exe来检查其中控件的属性值，比如tag，text等等。貌似合理，可他就是拿不到正确的属性。实际上，如果你不构造一个这个form的实例，不可能拿到这些属性。你在winform designer中输入的值都被vs用codedom的方法在form的InitializeComponent中生成比如a.text = &quot;&quot;此类的语句，也就是说你只能在构造这个类之后，才能通过对实例反射的方法得到这些属性。&lt;img src =&quot;http://blog.csdn.net/sukhoeing/aggbug/1890642.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 18 Nov 2007 07:32:00 +0800</pubDate><author>陈锋</author><comments>http://blog.csdn.net/sukhoeing/archive/2007/11/17/1890642.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/sukhoeing/archive/2007/11/17/1890642.aspx</guid><dc:creator>陈锋</dc:creator></item></channel></rss>