﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-沐枫小筑-最新评论</title><link>http://www.cnblogs.com/ly4cn/CommentsRSS.aspx</link><description>script c c++ c++/cli c# &lt;br/&gt;
.net windows ria game and so ...</description><language>zh-cn</language><pubDate>Mon, 04 Jul 2011 09:29:00 GMT</pubDate><lastBuildDate>Mon, 04 Jul 2011 09:29:00 GMT</lastBuildDate><generator>cnblogs</generator><item><title>Re:如何在Form中嵌入Excel</title><link>http://www.cnblogs.com/ly4cn/archive/2011/06/27/234472.html#2136299</link><dc:creator>有趣之极</dc:creator><author>有趣之极</author><pubDate>Mon, 27 Jun 2011 06:20:13 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2011/06/27/234472.html#2136299</guid><description><![CDATA[貌似MS不再支持olecontainer了<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">有趣之极</a> 2011-06-27 14:20 <a href="http://www.cnblogs.com/ly4cn/archive/2011/06/27/234472.html#2136299#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:介绍LuaPlus: 好用的Lua For C++扩展(修订)</title><link>http://www.cnblogs.com/ly4cn/archive/2011/05/14/285439.html#2096806</link><dc:creator>fengyun_52</dc:creator><author>fengyun_52</author><pubDate>Sat, 14 May 2011 08:19:52 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2011/05/14/285439.html#2096806</guid><description><![CDATA[你好，我想请问一下，我使用 LuaState::BoxPointer 来实现窗口对象与脚本对象的绑定，可是当我决定将其中的某些窗口析构掉，并重新创建同名的窗口时（例如游戏中重选角色），BoxPointer 内的 assert 会失败，失败的语句是 [code=cpp]
#define api_incr_top(L) {api_check(L, L-&gt;top &lt; L-&gt;ci-&gt;top); L-&gt;top++;}
[/code] 我怀疑失败的原因是我没有做 UnBoxPointer 操作，可是这个函数需要一个栈索引，我如何知道我所析构的窗口对应的脚本对象的栈索引是多少呢？即使知道，UnBoxPointer一次，栈索引难道不会被重置吗？LuaPlusHelper 中的LuaConstructor::Destructor()实现我没有看明白，不知道栈索引为什么会是 1.<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">fengyun_52</a> 2011-05-14 16:19 <a href="http://www.cnblogs.com/ly4cn/archive/2011/05/14/285439.html#2096806#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:如何使用.NET配置文件(一)</title><link>http://www.cnblogs.com/ly4cn/archive/2011/05/05/231245.html#2087108</link><dc:creator>狼郎</dc:creator><author>狼郎</author><pubDate>Thu, 05 May 2011 04:07:02 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2011/05/05/231245.html#2087108</guid><description><![CDATA[从网上搜了好多，还只这篇文章写的精彩，感谢博主<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">狼郎</a> 2011-05-05 12:07 <a href="http://www.cnblogs.com/ly4cn/archive/2011/05/05/231245.html#2087108#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:Flex与.NET WebService(续:与DataTable协作)</title><link>http://www.cnblogs.com/ly4cn/archive/2010/12/01/470539.html#1974578</link><dc:creator>kkwdj</dc:creator><author>kkwdj</author><pubDate>Wed, 01 Dec 2010 12:24:32 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2010/12/01/470539.html#1974578</guid><description><![CDATA[老大，您的这段代码是不是有问题，FLEX一点反映都没有。
但是在Service.asmx下，是可以生成XML代码的
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt; 
- &lt;DataTable xmlns=&quot;http://tempuri.org/&quot;&gt;
- &lt;xs:schema id=&quot;NewDataSet&quot; xmlns=&quot;&quot; xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:msdata=&quot;urn:schemas-microsoft-com:xml-msdata&quot;&gt;
- &lt;xs:element name=&quot;NewDataSet&quot; msdata:IsDataSet=&quot;true&quot; msdata:MainDataTable=&quot;customer&quot; msdata:UseCurrentLocale=&quot;true&quot;&gt;
- &lt;xs:complexType&gt;
- &lt;xs:choice minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;
- &lt;xs:element name=&quot;customer&quot;&gt;
- &lt;xs:complexType&gt;
- &lt;xs:sequence&gt;
  &lt;xs:element name=&quot;ID&quot; type=&quot;xs:int&quot; minOccurs=&quot;0&quot; /&gt; 
  &lt;xs:element name=&quot;Name&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt; 
  &lt;xs:element name=&quot;Address&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt; 
  &lt;xs:element name=&quot;Age&quot; type=&quot;xs:int&quot; minOccurs=&quot;0&quot; /&gt; 
  &lt;xs:element name=&quot;Gender&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt; 
  &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  &lt;/xs:choice&gt;
  &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
- &lt;diffgr:diffgram xmlns:msdata=&quot;urn:schemas-microsoft-com:xml-msdata&quot; xmlns:diffgr=&quot;urn:schemas-microsoft-com:xml-diffgram-v1&quot;&gt;
- &lt;NewDataSet xmlns=&quot;&quot;&gt;
- &lt;customer diffgr:id=&quot;customer1&quot; msdata:rowOrder=&quot;0&quot;&gt;
  &lt;ID&gt;1&lt;/ID&gt; 
  &lt;Name&gt;张三&lt;/Name&gt; 
  &lt;Address&gt;南京&lt;/Address&gt; 
  &lt;Age&gt;15&lt;/Age&gt; 
  &lt;Gender&gt;男&lt;/Gender&gt; 
  &lt;/customer&gt;
- &lt;customer diffgr:id=&quot;customer2&quot; msdata:rowOrder=&quot;1&quot;&gt;
  &lt;ID&gt;2&lt;/ID&gt; 
  &lt;Name&gt;李四&lt;/Name&gt; 
  &lt;Address&gt;北京&lt;/Address&gt; 
  &lt;Age&gt;20&lt;/Age&gt; 
  &lt;Gender&gt;男&lt;/Gender&gt; 
  &lt;/customer&gt;
- &lt;customer diffgr:id=&quot;customer3&quot; msdata:rowOrder=&quot;2&quot;&gt;
  &lt;ID&gt;3&lt;/ID&gt; 
  &lt;Name&gt;七姑娘&lt;/Name&gt; 
  &lt;Address&gt;上海&lt;/Address&gt; 
  &lt;Age&gt;21&lt;/Age&gt; 
  &lt;Gender&gt;女&lt;/Gender&gt; 
  &lt;/customer&gt;
  &lt;/NewDataSet&gt;
  &lt;/diffgr:diffgram&gt;
  &lt;/DataTable&gt;
可对？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">kkwdj</a> 2010-12-01 20:24 <a href="http://www.cnblogs.com/ly4cn/archive/2010/12/01/470539.html#1974578#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:C++指针探讨 (四) 函数对象</title><link>http://www.cnblogs.com/ly4cn/archive/2010/08/26/826885.html#1902336</link><dc:creator>finallyliuyu</dc:creator><author>finallyliuyu</author><pubDate>Thu, 26 Aug 2010 07:56:51 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2010/08/26/826885.html#1902336</guid><description><![CDATA[THANKS<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">finallyliuyu</a> 2010-08-26 15:56 <a href="http://www.cnblogs.com/ly4cn/archive/2010/08/26/826885.html#1902336#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:发展国产基础软件以及反盗版的异想</title><link>http://www.cnblogs.com/ly4cn/archive/2010/07/21/1781528.html#1876514</link><dc:creator>小彬</dc:creator><author>小彬</author><pubDate>Wed, 21 Jul 2010 07:19:24 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2010/07/21/1781528.html#1876514</guid><description><![CDATA[唉 装盗版Office真是害死人 按照网上的方法 破了N次 还是没激活<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">小彬</a> 2010-07-21 15:19 <a href="http://www.cnblogs.com/ly4cn/archive/2010/07/21/1781528.html#1876514#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:发展国产基础软件以及反盗版的异想</title><link>http://www.cnblogs.com/ly4cn/archive/2010/07/21/1781528.html#1876217</link><dc:creator>小猪凯</dc:creator><author>小猪凯</author><pubDate>Wed, 21 Jul 2010 02:28:42 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2010/07/21/1781528.html#1876217</guid><description><![CDATA[而且抵多少税还得考虑好了.趋利避害是正常反应,如果好处不是大到让大家心动,可能就算退税也未必有人愿意那么干.<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">小猪凯</a> 2010-07-21 10:28 <a href="http://www.cnblogs.com/ly4cn/archive/2010/07/21/1781528.html#1876217#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:发展国产基础软件以及反盗版的异想</title><link>http://www.cnblogs.com/ly4cn/archive/2010/07/21/1781528.html#1876207</link><dc:creator>小猪凯</dc:creator><author>小猪凯</author><pubDate>Wed, 21 Jul 2010 02:24:12 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2010/07/21/1781528.html#1876207</guid><description><![CDATA[退税,嘿嘿,这个难度比较大.

吞进去容易,想让它们吐出来,太难了.<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">小猪凯</a> 2010-07-21 10:24 <a href="http://www.cnblogs.com/ly4cn/archive/2010/07/21/1781528.html#1876207#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:发展国产基础软件以及反盗版的异想</title><link>http://www.cnblogs.com/ly4cn/archive/2010/07/21/1781528.html#1876141</link><dc:creator>被偷De贼</dc:creator><author>被偷De贼</author><pubDate>Wed, 21 Jul 2010 01:37:18 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2010/07/21/1781528.html#1876141</guid><description><![CDATA[盗版是主要原因，其次是国内环境没办法搞此类研发，国内的程序员不管技术高低，首先就是生存问题，连生活都不稳定何来专心搞研发呢。
二：观念问题，国人把钱、权看的比技术更重要，把做大官有高权看成人生目标，而国外观念是崇拜技术，只有没本事的人才去弄权搞政治，<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">被偷De贼</a> 2010-07-21 09:37 <a href="http://www.cnblogs.com/ly4cn/archive/2010/07/21/1781528.html#1876141#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:int 与 byte[] 的相互转换</title><link>http://www.cnblogs.com/ly4cn/archive/2010/04/20/232523.html#1805313</link><dc:creator>夜闻香</dc:creator><author>夜闻香</author><pubDate>Mon, 19 Apr 2010 17:21:18 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2010/04/20/232523.html#1805313</guid><description><![CDATA[还有一种利用联合结构的方法。


Improts System.Runtime.InteropServices

&lt;StructLayout(LayoutKind.Explicit)&gt; _
Structure MyUnion2
    &lt;FieldOffset(0)&gt; Dim b1 As Byte
    &lt;FieldOffset(1)&gt; Dim b2 As Byte
    &lt;FieldOffset(2)&gt; Dim b3 As Byte
    &lt;FieldOffset(3)&gt; Dim b4 As Byte
    &lt;FieldOffset(0)&gt; Dim i As Integer
    &lt;FieldOffset(0)&gt; Dim ui As UInteger
End Structure<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">夜闻香</a> 2010-04-20 01:21 <a href="http://www.cnblogs.com/ly4cn/archive/2010/04/20/232523.html#1805313#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:C++指针探讨 （一）数据指针</title><link>http://www.cnblogs.com/ly4cn/archive/2010/04/10/286185.html#1797894</link><dc:creator>石头儿</dc:creator><author>石头儿</author><pubDate>Sat, 10 Apr 2010 05:24:55 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2010/04/10/286185.html#1797894</guid><description><![CDATA[感觉用途不是太大，因为就结构体来说，其内部的成员变量大多数时候类型是不一样的（假如一样一般都用数组了吧），考虑这种实际情况的话，这种用法局限性太大了。菜鸟意见，呵呵，不知对与不对，还望多多指教~<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">石头儿</a> 2010-04-10 13:24 <a href="http://www.cnblogs.com/ly4cn/archive/2010/04/10/286185.html#1797894#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:如何使用.NET配置文件(一)</title><link>http://www.cnblogs.com/ly4cn/archive/2010/03/12/231245.html#1778174</link><dc:creator>不若相忘于江湖</dc:creator><author>不若相忘于江湖</author><pubDate>Fri, 12 Mar 2010 03:05:44 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2010/03/12/231245.html#1778174</guid><description><![CDATA[[quote]sd：靠，太他妈复杂了，只是存两个单词，至于吗？[/quote]

  狂吠! <br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">不若相忘于江湖</a> 2010-03-12 11:05 <a href="http://www.cnblogs.com/ly4cn/archive/2010/03/12/231245.html#1778174#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:Lua脚本语法说明（修订）</title><link>http://www.cnblogs.com/ly4cn/archive/2009/12/21/467550.html#1729168</link><dc:creator>JohnsonFeng</dc:creator><author>JohnsonFeng</author><pubDate>Sun, 20 Dec 2009 16:56:23 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2009/12/21/467550.html#1729168</guid><description><![CDATA[建议用luabind，仿boost python做的，
你会发现，把一个C++函数注册到lua环境中是多么方便<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">JohnsonFeng</a> 2009-12-21 00:56 <a href="http://www.cnblogs.com/ly4cn/archive/2009/12/21/467550.html#1729168#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:C++指针探讨 (三) 成员函数指针 </title><link>http://www.cnblogs.com/ly4cn/archive/2009/10/23/349180.html#1679597</link><dc:creator>沐枫</dc:creator><author>沐枫</author><pubDate>Fri, 23 Oct 2009 09:04:55 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2009/10/23/349180.html#1679597</guid><description><![CDATA[@范晨鹏
多继承的虚成员函数指针就是这一类。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">沐枫</a> 2009-10-23 17:04 <a href="http://www.cnblogs.com/ly4cn/archive/2009/10/23/349180.html#1679597#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:C++指针探讨 (三) 成员函数指针 </title><link>http://www.cnblogs.com/ly4cn/archive/2009/09/02/349180.html#1633342</link><dc:creator>范晨鹏</dc:creator><author>范晨鹏</author><pubDate>Wed, 02 Sep 2009 06:00:30 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2009/09/02/349180.html#1633342</guid><description><![CDATA[还有一个更重要的区别是，指针所占的空间也不一样了。即使在32位系统中，所占的空间也有可能是4字节、8字节、12字节甚至16字节，这个依据平台及编译器，有很大的变化。
楼主举个例子说明一下16 字节和 12字节的指针？
我只见过 8字节和 4 字节的指针。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">范晨鹏</a> 2009-09-02 14:00 <a href="http://www.cnblogs.com/ly4cn/archive/2009/09/02/349180.html#1633342#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:SQL2005的简单分页程序</title><link>http://www.cnblogs.com/ly4cn/archive/2009/08/17/447905.html#1617443</link><dc:creator>hp100</dc:creator><author>hp100</author><pubDate>Mon, 17 Aug 2009 13:44:58 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2009/08/17/447905.html#1617443</guid><description><![CDATA[第一种方法有问题NTILE:
备注
如果分区的行数不能被 expression 整除，则将导致一个成员有两种大小不同的组。按照 OVER 子句指定的顺序，较大的组排在较小的组前面。例如，如果总行数是 53，存储桶数是 5，则前三个存储桶每个包含 11 行，其余两个存储桶每个包含 10 行。另一方面，如果总行数可被存储桶数整除，则行数将在存储桶之间平均分布。例如，如果总行数为 50，有五个存储桶，则每个存储桶将包含 10 行。
而不是4个11行，1个9行<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">hp100</a> 2009-08-17 21:44 <a href="http://www.cnblogs.com/ly4cn/archive/2009/08/17/447905.html#1617443#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:C++指针探讨 （一）数据指针</title><link>http://www.cnblogs.com/ly4cn/archive/2009/07/30/286185.html#1600159</link><dc:creator>cycycycyc</dc:creator><author>cycycycyc</author><pubDate>Thu, 30 Jul 2009 06:06:56 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2009/07/30/286185.html#1600159</guid><description><![CDATA[好非常好<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">cycycycyc</a> 2009-07-30 14:06 <a href="http://www.cnblogs.com/ly4cn/archive/2009/07/30/286185.html#1600159#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:关注C++0x: Concept</title><link>http://www.cnblogs.com/ly4cn/archive/2009/07/27/887809.html#1596382</link><dc:creator>lilililili</dc:creator><author>lilililili</author><pubDate>Mon, 27 Jul 2009 02:01:29 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2009/07/27/887809.html#1596382</guid><description><![CDATA[最新消息,concept被取消了...
C++0x变C++1x了...<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">lilililili</a> 2009-07-27 10:01 <a href="http://www.cnblogs.com/ly4cn/archive/2009/07/27/887809.html#1596382#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:从for到foreach</title><link>http://www.cnblogs.com/ly4cn/archive/2009/07/10/907088.html#1581256</link><dc:creator>fdfdfdf</dc:creator><author>fdfdfdf</author><pubDate>Fri, 10 Jul 2009 05:40:45 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2009/07/10/907088.html#1581256</guid><description><![CDATA[dfdfdf<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">fdfdfdf</a> 2009-07-10 13:40 <a href="http://www.cnblogs.com/ly4cn/archive/2009/07/10/907088.html#1581256#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 您也使用托管C++吗？</title><link>http://www.cnblogs.com/ly4cn/archive/2009/06/19/363738.html#1562145</link><dc:creator>ZKO</dc:creator><author>ZKO</author><pubDate>Thu, 18 Jun 2009 16:51:46 GMT</pubDate><guid>http://www.cnblogs.com/ly4cn/archive/2009/06/19/363738.html#1562145</guid><description><![CDATA[不是为什么维护以前的C++代码,而是C#有些实现不了的功能用C++写,但C#又想实现,却来个变态的互操作<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/ly4cn/" target="_blank">ZKO</a> 2009-06-19 00:51 <a href="http://www.cnblogs.com/ly4cn/archive/2009/06/19/363738.html#1562145#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
