﻿<?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>博客园-Red_angelX-最新评论</title><link>http://www.cnblogs.com/Red_angelX/CommentsRSS.aspx</link><description>一蓑烟雨任平生</description><language>zh-cn</language><pubDate>Wed, 15 Apr 2009 06:02:01 GMT</pubDate><lastBuildDate>Wed, 15 Apr 2009 06:02:01 GMT</lastBuildDate><generator>cnblogs</generator><item><title>Re:飞信,你真的安全吗?</title><link>http://www.cnblogs.com/Red_angelX/archive/2010/05/04/733794.html#1816311</link><dc:creator>花落，花开</dc:creator><author>花落，花开</author><pubDate>Tue, 04 May 2010 12:13:57 GMT</pubDate><guid>http://www.cnblogs.com/Red_angelX/archive/2010/05/04/733794.html#1816311</guid><description><![CDATA[哇，博主看来很厉害哦～
初玩.net平台。多多指教<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Red_angelX/" target="_blank">花落，花开</a> 2010-05-04 20:13 <a href="http://www.cnblogs.com/Red_angelX/archive/2010/05/04/733794.html#1816311#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:BMP图片魔法师KeyGen</title><link>http://www.cnblogs.com/Red_angelX/archive/2009/12/21/1436420.html#1729841</link><dc:creator>Pandora</dc:creator><author>Pandora</author><pubDate>Mon, 21 Dec 2009 08:46:21 GMT</pubDate><guid>http://www.cnblogs.com/Red_angelX/archive/2009/12/21/1436420.html#1729841</guid><description><![CDATA[破解高手~~ 膜拜<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Red_angelX/" target="_blank">Pandora</a> 2009-12-21 16:46 <a href="http://www.cnblogs.com/Red_angelX/archive/2009/12/21/1436420.html#1729841#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:让LuaInterface 2.0.1支持中文</title><link>http://www.cnblogs.com/Red_angelX/archive/2009/12/08/1428245.html#1717956</link><dc:creator>ByteWorker</dc:creator><author>ByteWorker</author><pubDate>Tue, 08 Dec 2009 06:27:07 GMT</pubDate><guid>http://www.cnblogs.com/Red_angelX/archive/2009/12/08/1428245.html#1717956</guid><description><![CDATA[很好！ 关于那篇LUA内的代码的修改解决中文问题

早之前，由于应用的需要，我发现中文不能PRINT出来。
后来跟踪发现代码的问题，遂改之，其实LUA的的TSTRING
对象是RAW字节流，不管那中形式的编码，LUA并不实际解释
它的含义（通用性），这个正如#3楼说的，问题出来LUADLL
中，不过，我上面提到的修整LUA的代码同样可以编译运行
（虽然有些别扭） ，至于有没有其它影响（暂不知道）
呵呵，感谢#3楼 高手给出的提示。
<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Red_angelX/" target="_blank">ByteWorker</a> 2009-12-08 14:27 <a href="http://www.cnblogs.com/Red_angelX/archive/2009/12/08/1428245.html#1717956#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:BMP图片魔法师KeyGen</title><link>http://www.cnblogs.com/Red_angelX/archive/2009/10/14/1436420.html#1671421</link><dc:creator>asfd123</dc:creator><author>asfd123</author><pubDate>Wed, 14 Oct 2009 04:51:10 GMT</pubDate><guid>http://www.cnblogs.com/Red_angelX/archive/2009/10/14/1436420.html#1671421</guid><description><![CDATA[挺欣赏你的，不知道怎么联系你<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Red_angelX/" target="_blank">asfd123</a> 2009-10-14 12:51 <a href="http://www.cnblogs.com/Red_angelX/archive/2009/10/14/1436420.html#1671421#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:C#将Trace,Debug信息输出到控件上</title><link>http://www.cnblogs.com/Red_angelX/archive/2009/09/02/1430825.html#1633875</link><dc:creator>chen_767</dc:creator><author>chen_767</author><pubDate>Wed, 02 Sep 2009 12:32:34 GMT</pubDate><guid>http://www.cnblogs.com/Red_angelX/archive/2009/09/02/1430825.html#1633875</guid><description><![CDATA[不检查control.InvokeRequired。用线程安全吗。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Red_angelX/" target="_blank">chen_767</a> 2009-09-02 20:32 <a href="http://www.cnblogs.com/Red_angelX/archive/2009/09/02/1430825.html#1633875#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:C#将Trace,Debug信息输出到控件上</title><link>http://www.cnblogs.com/Red_angelX/archive/2009/09/02/1430825.html#1633871</link><dc:creator>chen_767</dc:creator><author>chen_767</author><pubDate>Wed, 02 Sep 2009 12:29:58 GMT</pubDate><guid>http://www.cnblogs.com/Red_angelX/archive/2009/09/02/1430825.html#1633871</guid><description><![CDATA[好不错<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Red_angelX/" target="_blank">chen_767</a> 2009-09-02 20:29 <a href="http://www.cnblogs.com/Red_angelX/archive/2009/09/02/1430825.html#1633871#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:飞信,你真的安全吗?</title><link>http://www.cnblogs.com/Red_angelX/archive/2009/07/07/733794.html#1577943</link><dc:creator>Jack Niu</dc:creator><author>Jack Niu</author><pubDate>Tue, 07 Jul 2009 07:40:47 GMT</pubDate><guid>http://www.cnblogs.com/Red_angelX/archive/2009/07/07/733794.html#1577943</guid><description><![CDATA[路过<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Red_angelX/" target="_blank">Jack Niu</a> 2009-07-07 15:40 <a href="http://www.cnblogs.com/Red_angelX/archive/2009/07/07/733794.html#1577943#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 让LuaInterface 2.0.1支持中文</title><link>http://www.cnblogs.com/Red_angelX/archive/2009/06/24/1428245.html#1566697</link><dc:creator>zhyk</dc:creator><author>zhyk</author><pubDate>Wed, 24 Jun 2009 00:24:45 GMT</pubDate><guid>http://www.cnblogs.com/Red_angelX/archive/2009/06/24/1428245.html#1566697</guid><description><![CDATA[你错了，问题应该出在这个地方<br/>luaDLL.cpp : 652<br/>static int luaL_loadbuffer(IntPtr luaState, String^ buff, String^ name)<br/>{<br/>	char *cs1 = (char *) Marshal::StringToHGlobalAnsi(buff).ToPointer();<br/>	char *cs2 = (char *) Marshal::StringToHGlobalAnsi(name).ToPointer();<br/><br/>	int result = ::luaL_loadbuffer(toState, cs1, buff-&gt;Length, cs2);<br/><br/>	Marshal::FreeHGlobal(IntPtr(cs1));<br/>	Marshal::FreeHGlobal(IntPtr(cs2));<br/><br/>	return result;<br/>}<br/>最新版本已经修正了这个问题:<br/>luaDLL.cpp : 659<br/>static int luaL_loadbuffer(IntPtr luaState, String^ buff, String^ name)<br/>{<br/>	char *cs1 = (char *) Marshal::StringToHGlobalAnsi(buff).ToPointer();<br/>	char *cs2 = (char *) Marshal::StringToHGlobalAnsi(name).ToPointer();<br/><br/>	//CP: fix for MBCS, changed to use cs1's length (reported by qingrui.li)<br/>	int result = ::luaL_loadbuffer(toState, cs1, strlen(cs1), cs2);<br/><br/>	Marshal::FreeHGlobal(IntPtr(cs1));<br/>	Marshal::FreeHGlobal(IntPtr(cs2));<br/><br/>	return result;<br/>}<br/>如果你那么改，就无法运行编译过的lua代码了（lua的二进制数据长度被破坏）。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Red_angelX/" target="_blank">zhyk</a> 2009-06-24 08:24 <a href="http://www.cnblogs.com/Red_angelX/archive/2009/06/24/1428245.html#1566697#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 让LuaInterface 2.0.1支持中文</title><link>http://www.cnblogs.com/Red_angelX/archive/2009/04/22/1428245.html#1509520</link><dc:creator>X sky</dc:creator><author>X sky</author><pubDate>Wed, 22 Apr 2009 05:54:13 GMT</pubDate><guid>http://www.cnblogs.com/Red_angelX/archive/2009/04/22/1428245.html#1509520</guid><description><![CDATA[请问一个LuaInterface的问题：在主程序（C#）中有一个对象，现在怎么在Lua脚本中调用该对象的一个属性（数组形式）内的具体内容？如：m=Bore.DiCeng[1].HouDu 为什么不行呢<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Red_angelX/" target="_blank">X sky</a> 2009-04-22 13:54 <a href="http://www.cnblogs.com/Red_angelX/archive/2009/04/22/1428245.html#1509520#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: C#贴边自动隐藏组件完美版</title><link>http://www.cnblogs.com/Red_angelX/archive/2009/04/21/1235377.html#1509128</link><dc:creator>rgb</dc:creator><author>rgb</author><pubDate>Tue, 21 Apr 2009 15:51:33 GMT</pubDate><guid>http://www.cnblogs.com/Red_angelX/archive/2009/04/21/1235377.html#1509128</guid><description><![CDATA[Timer控件毛病很多的。。。<br/>博主以前学C++的？全C++风格，呵呵，学习了！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Red_angelX/" target="_blank">rgb</a> 2009-04-21 23:51 <a href="http://www.cnblogs.com/Red_angelX/archive/2009/04/21/1235377.html#1509128#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
