<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TechGuru</title>
	<atom:link href="http://tunps.com/feed" rel="self" type="application/rss+xml" />
	<link>http://tunps.com</link>
	<description>a Process to Niubility</description>
	<lastBuildDate>Fri, 18 May 2012 13:27:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>ppc报错：可能它不是使用可信证书进行签名的或找不到它的某个组件，storage card变为storage card2</title>
		<link>http://tunps.com/wm-storage-card-2</link>
		<comments>http://tunps.com/wm-storage-card-2#comments</comments>
		<pubDate>Wed, 04 Apr 2012 14:07:53 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[windows mobile]]></category>

		<guid isPermaLink="false">http://tunps.com/?p=8165</guid>
		<description><![CDATA[来自http://tunps.com/wm-storage-card-2所有sd里面的程序点开都报这个错误，然后程序图标都成了“默认图标” 我估计和我最近开发wm程序，用active sync在diamond实机上测试有关系。“我的设备”下面多了一个自建的Storage Card目录，但是没有内存卡一样的图标。目录是这样的：我的设备\Storage Card\Application Data\Google Maps\xxxxx。 因为在手机插入电脑USB后，sd卡自动卸载，然后我在sd卡卸载的情况下运行了google maps。google maps没有发现sd卡里面的Application Data下面的文件，所以就主动的在“我的设备”里面“克隆”了这样的目录放置配置文件、缓存文件。不过这也是我自己的想法，可能也不是这个原因。 解决方法是，重命名“假”的Storage Card为其他名字。重新启动后Storage Card2自动变回Storage Card。]]></description>
			<content:encoded><![CDATA[<p>来自<a href="http://tunps.com/wm-storage-card-2">http://tunps.com/wm-storage-card-2</a></p><p>所有sd里面的程序点开都报这个错误，然后程序图标都成了“默认图标”</p>
<p>我估计和我最近开发wm程序，用active sync在diamond实机上测试有关系。“我的设备”下面多了一个自建的Storage Card目录，但是没有内存卡一样的图标。目录是这样的：我的设备\Storage Card\Application Data\Google Maps\xxxxx。</p>
<img src="http://tunps.com/wp-content/uploads/2012/04/card-icon.png" alt="" title="card-icon" width="182" height="274" class="alignnone size-full wp-image-8166" />
<p>因为在手机插入电脑USB后，sd卡自动卸载，然后我在sd卡卸载的情况下运行了google maps。google maps没有发现sd卡里面的Application Data下面的文件，所以就主动的在“我的设备”里面“克隆”了这样的目录放置配置文件、缓存文件。不过这也是我自己的想法，可能也不是这个原因。</p>
<p>解决方法是，重命名“假”的Storage Card为其他名字。重新启动后Storage Card2自动变回Storage Card。</p>]]></content:encoded>
			<wfw:commentRss>http://tunps.com/wm-storage-card-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>问题：winform程序启动后自动最小化</title>
		<link>http://tunps.com/csharp-winform-startup-minimized</link>
		<comments>http://tunps.com/csharp-winform-startup-minimized#comments</comments>
		<pubDate>Sun, 11 Mar 2012 07:52:59 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[c]]></category>
		<category><![CDATA[winform]]></category>

		<guid isPermaLink="false">http://tunps.com/?p=8068</guid>
		<description><![CDATA[来自http://tunps.com/csharp-winform-startup-minimized问题：winform程序启动后自动最小化 本来默认情况下winform程序调试，运行，双击exe直接显示界面了。但是今天碰到了双击exe之后界面直接最小化到任务栏的问题。 我排查的思路是：首先程序有多个Form，Program.cs里面new的是Form1打开就最小化。我尝试把Form1替换为其他的Form(比如Form2&#8230;.)，结果是：Form2最小化，Form3,Form4等正常，所有问题肯定在Form2里面 这里说一下为什么，Program.cs里面new的是Form1也成了最小化，因为这个程序Form1是其他所有Form的Parent Form。 接下来，看Form2的构造函数里面的内容，依次注释InitializeComponent等一些影响程序界面元素的函数。结果没发现问题。。 接下来来到了UpdateDeviceList()函数，在注释一下语句后，程序正常显示： DriveDetector dd = new DriveDetector(); dd.DeviceArrived += new DriveDetectorEventHandler(OnDriveArrived); dd.DeviceRemoved += new DriveDetectorEventHandler(OnDriveRemoved); DriveDetector是别人写的检查pnp设备插入，原理是重载WndProc，所以必须要有一个Form，所以DriverDetector的构造函数在没有指定窗口的情况下自动简历一个隐藏窗口：this.Visible = false;，导致程序启动后最小化，通过指定窗口为this后，问题解决。 DriveDetector dd = new DriveDetector(this);]]></description>
			<content:encoded><![CDATA[<p>来自<a href="http://tunps.com/csharp-winform-startup-minimized">http://tunps.com/csharp-winform-startup-minimized</a></p><p>问题：winform程序启动后自动最小化</p>
<p>本来默认情况下winform程序调试，运行，双击exe直接显示界面了。但是今天碰到了双击exe之后界面直接最小化到任务栏的问题。</p>
<p>我排查的思路是：首先程序有多个Form，Program.cs里面new的是Form1打开就最小化。我尝试把Form1替换为其他的Form(比如Form2&#8230;.)，结果是：Form2最小化，Form3,Form4等正常，所有问题肯定在Form2里面</p>
<p>这里说一下为什么，Program.cs里面new的是Form1也成了最小化，因为这个程序Form1是其他所有Form的Parent Form。</p>
<p>接下来，看Form2的构造函数里面的内容，依次注释<code>InitializeComponent</code>等一些影响程序界面元素的函数。结果没发现问题。。</p>
<p>接下来来到了UpdateDeviceList()函数，在注释一下语句后，程序正常显示：</p>
<pre>
DriveDetector dd = new DriveDetector();
dd.DeviceArrived += new DriveDetectorEventHandler(OnDriveArrived);
dd.DeviceRemoved += new DriveDetectorEventHandler(OnDriveRemoved);
</pre>
<p>DriveDetector是别人写的检查pnp设备插入，原理是重载<code>WndProc</code>，所以必须要有一个Form，所以DriverDetector的构造函数在没有指定窗口的情况下自动简历一个隐藏窗口：<code>this.Visible = false;</code>，导致程序启动后最小化，通过指定窗口为<code>this</code>后，问题解决。</p>
<pre>
DriveDetector dd = new DriveDetector(this);
</pre>]]></content:encoded>
			<wfw:commentRss>http://tunps.com/csharp-winform-startup-minimized/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>过滤post-format-aside文章</title>
		<link>http://tunps.com/wordpress-post-format-aside-filter</link>
		<comments>http://tunps.com/wordpress-post-format-aside-filter#comments</comments>
		<pubDate>Thu, 09 Feb 2012 07:30:01 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tunps.com/?p=7979</guid>
		<description><![CDATA[来自http://tunps.com/wordpress-post-format-aside-filterwordpress在3.X版本中加入了post-format概念，默认是standard，其他的可选的还有aside,gallary,status,video等。 本博客一直使用aside形式来发布一些简短的信息，而且这些信息是“无聊”的，比如“刚吃完饭，好饱啊”之类没有任何价值的信息。所以需要在primary loop中过滤掉，然后在一个“僻静”的地方（比如某个页面）显示出来。 方法很简单，不过我股沟了很久 primary loop中过滤post-format-aside 在主题文件（我用的twentyten）loop.php文件中找到代码：while ( have_posts() ) : the_post();。此行上面添加以下代码： &#60;?php $my =array( 'tax_query' =&#62; array( array( 'taxonomy' =&#62; 'post_format', 'field' =&#62; 'slug', 'terms' =&#62; 'post-format-aside', 'operator' =&#62; 'NOT IN', ) ) ); $my = array_merge( $my , &#8230; <a href="http://tunps.com/wordpress-post-format-aside-filter">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>来自<a href="http://tunps.com/wordpress-post-format-aside-filter">http://tunps.com/wordpress-post-format-aside-filter</a></p><p>wordpress在3.X版本中加入了post-format概念，默认是standard，其他的可选的还有aside,gallary,status,video等。</p>
<p>本博客一直使用aside形式来发布一些简短的信息，而且这些信息是“无聊”的，比如“刚吃完饭，好饱啊”之类没有任何价值的信息。所以需要在primary loop中过滤掉，然后在一个“僻静”的地方（比如某个页面）显示出来。</p>
<p>方法很简单，不过我股沟了很久</p>
<h2 class="section">primary loop中过滤post-format-aside</h2>
<p>在主题文件（我用的twentyten）loop.php文件中找到代码：while ( have_posts() ) : the_post();。此行上面添加以下代码：</p>
<pre>
&lt;?php
$my =array(
	'tax_query' =&gt; array(
		array(
			'taxonomy' =&gt; 'post_format',
			'field' =&gt; 'slug',
			'terms' =&gt; 'post-format-aside',
			'operator' =&gt; 'NOT IN',
		)
	)
);
$my = array_merge( $my , array_filter( $wp_query-&gt;query_vars ) );
query_posts($my);
?&gt;
</pre>
<p>这样primary loop中就不再显示post-format-aside文章。</p>
<h2 class="section">在新建页面（“僻静的地方”）中显示aside文章，并实现分页</h2>
<p>新建一个页面，名字随意。记录下page ID，我的是7856。所以在主题目录下建立page-7856.php，文件代码如下：</p>
<pre>

&lt;?php
get_header(); ?&gt;
		&lt;div id="container"&gt;
			&lt;div id="content" role="main"&gt;

			&lt;?php
			$pp = isset($_GET['pp'])?$_GET['pp']:0;
			
			if(!is_numeric($pp))
				$pp=0;
			$offset = $pp*10;
			$args =array(
				'tax_query' =&gt; array(
					array(
						'taxonomy' =&gt; 'post_format',
						'field' =&gt; 'slug',
						'terms' =&gt; 'post-format-aside'
					)
				),
				'offset' =&gt; $offset
			);
			// The Query
			$the_query = query_posts( $args );
			?&gt;
			
			&lt;?php while (have_posts() ) : the_post(); 
				// The Loop?&gt;
				&lt;div id="post-&lt;?php the_ID(); ?&gt;" &lt;?php post_class(); ?&gt;&gt;

				&lt;?php if (is_search() ) : // Display excerpts for archives and search. ?&gt;
					&lt;div class="entry-summary"&gt;
						&lt;?php the_excerpt(); ?&gt;
					&lt;/div&gt;&lt;!-- .entry-summary --&gt;
				&lt;?php else : ?&gt;
					&lt;div class="entry-content"&gt;
						&lt;?php the_content( __( 'Continue reading &lt;span class="meta-nav"&gt;&rarr;&lt;/span&gt;', 'twentyten' ) ); ?&gt;
						&lt;hr /&gt;
					&lt;/div&gt;&lt;!-- .entry-content --&gt;
				&lt;?php endif; ?&gt;

					&lt;div class="entry-utility"&gt;
						&lt;?php twentyten_posted_on(); ?&gt;
						&lt;span class="meta-sep"&gt;|&lt;/span&gt;
						&lt;span class="comments-link"&gt;&lt;?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?&gt;&lt;/span&gt;
						&lt;?php edit_post_link( __( 'Edit', 'twentyten' ), '&lt;span class="meta-sep"&gt;|&lt;/span&gt; &lt;span class="edit-link"&gt;', '&lt;/span&gt;' ); ?&gt;
					&lt;/div&gt;&lt;!-- .entry-utility --&gt;
				
			&lt;/div&gt;&lt;!-- #post-## --&gt;
				
			&lt;?php endwhile; ?&gt;
			&lt;?php
			// Reset Post Data
			wp_reset_postdata();
			wp_reset_query();

			?&gt;
				&lt;div id="nav-below" class="navigation"&gt;
				&lt;?php
				//pagenation function
					$older = $pp-1;
					$newer = $pp+1;
				?&gt;
				&lt;?php if($pp != 0){?&gt;
					&lt;a href="&lt;?php echo "doing?pp=".$older ?&gt;"&gt;上一页&lt;/a&gt;
				&lt;?php } else { ?&gt;
					上一页
				&lt;?php } ?&gt;
				&lt;a href="&lt;?php echo "doing?pp=".$newer ?&gt;"&gt;下一页&lt;/a&gt;
				&lt;/div&gt;&lt;!-- #nav-below --&gt;
			&lt;/div&gt;&lt;!-- #content --&gt;
			&lt;?php /* Display navigation to next/previous pages when applicable */ ?&gt;
		&lt;/div&gt;&lt;!-- #container --&gt;
&lt;?php get_sidebar(); ?&gt;
&lt;?php get_footer(); ?&gt;
</pre>
<h2 class="section">feed中过滤掉aside文章</h2>
<p>页面上的工作我们完成了，接下来我们要过滤掉feed中的aside文章，也就是不让aside文章在feed中输出。为什么要过滤捏？难道你觉得你的博客订阅用户会对你什么时候吃饭了？吃得是否很饱感兴趣？答案是否定的。方法很简单，我们在主题目录找到functions.php，在末尾添加如下代码即可：</p>
<pre>
//feed filter aside posts
function wp_exclude_category(WP_Query $query) {
	if($query-&gt;is_feed){
		$args = array(
			array(
				'taxonomy' =&gt; 'post_format',
				'field' =&gt; 'slug',
				'terms' =&gt; 'post-format-aside',
				'operator' =&gt; 'NOT IN'
			)
		);
	$query-&gt;set('tax_query',$args);
	}
	return $query;
}
add_filter('pre_get_posts','wp_exclude_category');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://tunps.com/wordpress-post-format-aside-filter/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>关于iphone4s和ipad2越狱</title>
		<link>http://tunps.com/iphone4s-ipad2-jb</link>
		<comments>http://tunps.com/iphone4s-ipad2-jb#comments</comments>
		<pubDate>Thu, 09 Feb 2012 07:01:44 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
		
		<guid isPermaLink="false">http://tunps.com/?p=7848</guid>
		<description><![CDATA[来自http://tunps.com/iphone4s-ipad2-jb最近我老妹买了2个iphone4s，一个黑的，一个白的。 正好春节之后greenpois0n就发布了A5核心设备iOS 5.0.1系统的越狱软件Absinthe。最新的Absinthe已经更新到0.3，支持iphone4s ipad2 在越狱之前首选用TinyUmbrella来备份SHSH。给我们的降级留有余地。 首先是一个iphone4s，新加坡版的，应该是无锁版。默认iOS版本号是5.0.1，直接运行Absinthe，点“JailBreak”之后等待Absinthe图标出现在手机桌面上，不要点，进入通用，启用“VPN”，等待报错“VPN配置错误”，然后系统自动重启。这个时候Cydia已经在桌面上了。越狱成功，如果等了很久一直不重启，参见此文 接下来是一台老姐的国行的ipad2，WIFI版，肯定也是无锁的，软件版本是4.3.5。买了很久了，一直待越。 首先必须升级固件到5.0或5.0.1，我选择5.0.1。下载固件到http://iphone.91.com/fw/ 我选择http://appldnld.apple.com/iPhone4/041-3310.20111109.Cfp76/iPad2,1_5.0.1_9A405_Restore.ipsw，接下来打开itunes，连接ipad2到电脑，按住SHIFT的情况下点击“更新”，选择ipsw所在路径的iPad2,1_5.0.1_9A405_Restore.ipsw。在更新固件的时候itunes会连接到apple官方验证什么东西。开始的时候一直报“未知错误”，“联网错误”。一下是我测试的所有可能性： 模式 hosts 按钮 错误 正常 127 更新 错误11 正常 cydia 更新 此时无法更新Ipad"",因为iPad软件更新服务器无法联系或暂不可用 正常 apple 更新 request time out 此时无法更新Ipad"",因为iPad软件更新服务器无法联系或暂不可用 无论gs.apple.com的ip hosts到127.0.0.1交给Tiny Umbrella的SSH Server还是74.208.10.249的Cydia都报错。最后都用#注释掉。连接苹果官方，结果果然是超时了。 C:\Documents and Settings\Administrator>ping gs.apple.com Pinging gs.apple.com.akadns.net [17.171.36.30] with &#8230; <a href="http://tunps.com/iphone4s-ipad2-jb">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>来自<a href="http://tunps.com/iphone4s-ipad2-jb">http://tunps.com/iphone4s-ipad2-jb</a></p><p>最近我老妹买了2个iphone4s，一个黑的，一个白的。</p>
<p>正好春节之后greenpois0n就发布了A5核心设备iOS 5.0.1系统的越狱软件Absinthe。最新的Absinthe已经更新到0.3，支持iphone4s ipad2</p>

<p>在越狱之前首选用TinyUmbrella来备份SHSH。给我们的降级留有余地。</p>

<p>首先是一个iphone4s，新加坡版的，应该是无锁版。默认iOS版本号是5.0.1，直接运行Absinthe，点“JailBreak”之后等待Absinthe图标出现在手机桌面上，不要点，进入通用，启用“VPN”，等待报错“VPN配置错误”，然后系统自动重启。这个时候Cydia已经在桌面上了。越狱成功，如果等了很久一直不重启，参见<a href="http://bbs.weiphone.com/read-htm-tid-3871773.html">此文</a></p>


<p>接下来是一台老姐的国行的ipad2，WIFI版，肯定也是无锁的，软件版本是4.3.5。买了很久了，一直待越。</p>
<p>首先必须升级固件到5.0或5.0.1，我选择5.0.1。下载固件到<a href="http://iphone.91.com/fw/">http://iphone.91.com/fw/</a>
我选择<a href="http://appldnld.apple.com/iPhone4/041-3310.20111109.Cfp76/iPad2,1_5.0.1_9A405_Restore.ipsw">http://appldnld.apple.com/iPhone4/041-3310.20111109.Cfp76/iPad2,1_5.0.1_9A405_Restore.ipsw</a>，接下来打开itunes，连接ipad2到电脑，按住SHIFT的情况下点击“更新”，选择ipsw所在路径的iPad2,1_5.0.1_9A405_Restore.ipsw。在更新固件的时候itunes会连接到apple官方验证什么东西。开始的时候一直报“未知错误”，“联网错误”。一下是我测试的所有可能性：</p>
<pre>
模式	hosts	按钮	错误
正常	127	更新	错误11
正常	cydia	更新	此时无法更新Ipad"",因为iPad软件更新服务器无法联系或暂不可用
正常	apple	更新	request time out 此时无法更新Ipad"",因为iPad软件更新服务器无法联系或暂不可用
</pre>
<p>无论gs.apple.com的ip hosts到127.0.0.1交给Tiny Umbrella的SSH Server还是74.208.10.249的Cydia都报错。最后都用#注释掉。连接苹果官方，结果果然是超时了。</p>
<pre>
C:\Documents and Settings\Administrator>ping gs.apple.com

Pinging gs.apple.com.akadns.net [17.171.36.30] with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.
</pre>
<p>打开WallProxy之后，还是超时。但是点击“更新”后，尽然更新升级到5.0.1。汗。。。。。</p>


]]></content:encoded>
			<wfw:commentRss>http://tunps.com/iphone4s-ipad2-jb/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto Save Image：WordPress远程图片保存/抓取插件</title>
		<link>http://tunps.com/auto-save-image</link>
		<comments>http://tunps.com/auto-save-image#comments</comments>
		<pubDate>Thu, 09 Feb 2012 06:34:02 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tunps.com/?p=6948</guid>
		<description><![CDATA[来自http://tunps.com/auto-save-imageAuto Save Image 自定义保存目录 支持设置水印，水印文字大小、内容、透明度、字体、位置 去除站外图片链接 图片id能自动与文章id关联]]></description>
			<content:encoded><![CDATA[<p>来自<a href="http://tunps.com/auto-save-image">http://tunps.com/auto-save-image</a></p><h2 class="section"><a href="http://www.01on.com/a/497.html">Auto Save Image</a></h2>
<ul>
	<li>自定义保存目录</li>
	<li>支持设置水印，水印文字大小、内容、透明度、字体、位置</li>
	<li>去除站外图片链接</li>
	<li>图片id能自动与文章id关联</li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://tunps.com/auto-save-image/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UltraEdit宏一枚</title>
		<link>http://tunps.com/ultraedit-1-macros</link>
		<comments>http://tunps.com/ultraedit-1-macros#comments</comments>
		<pubDate>Thu, 09 Feb 2012 06:21:41 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[ultraedit]]></category>

		<guid isPermaLink="false">http://tunps.com/?p=7976</guid>
		<description><![CDATA[来自http://tunps.com/ultraedit-1-macros一 有如下文本内容，需要在每个[code]前面添加上从下往上查找的最近的一个日期： [2011.12.12] [code]item 1 [code]item 2 [code]item 3 [code]item 4 [code]item 5 [life]item fdsa [code]item fzzz [code]item fsa [code]item fsa [shit]fsafdsafdsa [code]fdsafdsafd [2011.12.13] [life]fdsafdsaf [code]fdsafdsaf [fuck]fdsafdsaf [code]fdsafdsaf 使用如下宏：（注：运行宏之前将光标移动到第一行，宏内容中的“X箭头”是安装中文版UltraEdit的内容，如果是其他语言版本可能不同。比如英文版“右箭头”就是“RIGHT ARROW”。使用中文版UE写RIGHT ARROW会报宏语法错误。这一点比较坑爹。既然会想到用宏的人，宏脚本还搞本地化就比较蛋疼了。） InsertMode ColumnModeOff HexOff Find " [code]" ToggleBookmark IfFound Find &#8230; <a href="http://tunps.com/ultraedit-1-macros">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>来自<a href="http://tunps.com/ultraedit-1-macros">http://tunps.com/ultraedit-1-macros</a></p><h2 class="section">一</h2>
<p>有如下文本内容，需要在每个[code]前面添加上从下往上查找的最近的一个日期：</p>
<pre>
[2011.12.12]
	[code]item 1
	[code]item 2
	[code]item 3
	[code]item 4
	[code]item 5
	[life]item fdsa
	[code]item fzzz
	[code]item fsa
	[code]item fsa
	[shit]fsafdsafdsa
	[code]fdsafdsafd
[2011.12.13]
	[life]fdsafdsaf
	[code]fdsafdsaf
	[fuck]fdsafdsaf
	[code]fdsafdsaf
</pre>
<p>使用如下宏：（注：运行宏之前将光标移动到第一行，宏内容中的“X箭头”是安装中文版UltraEdit的内容，如果是其他语言版本可能不同。比如英文版“右箭头”就是“RIGHT ARROW”。使用中文版UE写RIGHT ARROW会报宏语法错误。这一点比较坑爹。既然会想到用宏的人，宏脚本还搞本地化就比较蛋疼了。）</p>
<pre>
InsertMode
ColumnModeOff
HexOff
Find "	[code]"
ToggleBookmark
IfFound
Find Up "[201"
StartSelect
Key 右箭头
Key 右箭头
Key 右箭头
Key 右箭头
Key 右箭头
Key 右箭头
Key 右箭头
Key 右箭头
EndSelect
Copy
Clipboard 0
GotoBookMark 1
Key 右箭头
Paste
EndIf
ToggleBookmark
</pre>
<p>运行宏之后的文本内容变为：</p>
<pre>

[2011.12.12]
	[2011.12.12][code]item 1
	[2011.12.12][code]item 2
	[2011.12.12][code]item 3
	[2011.12.12][code]item 4
	[2011.12.12][code]item 5
	[life]item fdsa
	[2011.12.12][code]item fzzz
	[2011.12.12][code]item fsa
	[2011.12.12][code]item fsa
	[shit]fsafdsafdsa
	[2011.12.12][code]fdsafdsafd
[2011.12.13]
	[life]fdsafdsaf
	[2011.12.13][code]fdsafdsaf
	[fuck]fdsafdsaf
	[2011.12.13][code]fdsafdsaf
</pre>

]]></content:encoded>
			<wfw:commentRss>http://tunps.com/ultraedit-1-macros/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>reading 2012.02/03/04</title>
		<link>http://tunps.com/reading-2012-0203</link>
		<comments>http://tunps.com/reading-2012-0203#comments</comments>
		<pubDate>Sun, 05 Feb 2012 14:17:58 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[reading]]></category>

		<guid isPermaLink="false">http://tunps.com/?p=7855</guid>
		<description><![CDATA[来自http://tunps.com/reading-2012-0203探访河北阜县明胶生产流程 《看客》第154期：“龙熊”之变 李思怡 山地车变速小解，初级玩家必修课.. 图片故事：为儿买房 [每周质量报告]胶囊里的秘密(20120415) “老酸奶”谣言真实性趋于明显。警察去检查，正巧厂房起火，证据全无。正义再次被颠覆。 修改windows mobile手机的hosts文件实现翻墙 技术QA：如何设置 Windows Mobile 6.0 模拟器上网？ 禁用或者清除Windows7任务栏Jumplist技巧（或称打开记录，最近打开列表） Linux on an 8-bit micro? 8位cpu上启动32bit linux！ 性欲和悲剧 win7注册ocx时出现对DllRegisterServer的调用失败，错误代码为0&#215;80040200解决方案 一个北大女毕业生的对社会的恐惧 那些年，我们一起躲过的豪车…… 三民主义统一中国VS一国两制统一中国 政府特殊号牌管理系统 毛主席是我最亲最亲的亲人！ 为何月薪一万仍然是屌丝？ site:cntv.cn an error occurred while processing this directive cntv玩dedecms咋这么烂捏 [每周质量报告]严打食品违法（20120304） &#8230; <a href="http://tunps.com/reading-2012-0203">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>来自<a href="http://tunps.com/reading-2012-0203">http://tunps.com/reading-2012-0203</a></p><p><a href="http://webcache.googleusercontent.com/search?sourceid=chrome&#038;ie=UTF-8&#038;q=cache%3Ahttp%3A%2F%2Fnews.163.com%2Fphotoview%2F00AN0001%2F22714.html#p=7VFNRTTA00AN0001">探访河北阜县明胶生产流程</a></p>

<p><a href="http://news.163.com/photoview/3R710001/22684.html">《看客》第154期：“龙熊”之变</a></p>

<p><a href="http://zh.wikipedia.org/zh/%E6%9D%8E%E6%80%9D%E6%80%A1">李思怡</a></p>

<p><a href="http://www.zzbbs.com/thread-120036-1-1.html">山地车变速小解，初级玩家必修课.. </a></p>

<p><a href="http://news.163.com/photoview/00AP0001/22581.html">图片故事：为儿买房</a></p>

<p><a href="http://news.cntv.cn/china/20120415/111049_2.shtml">[每周质量报告]胶囊里的秘密(20120415)</a> “老酸奶”谣言真实性趋于明显。警察去检查，正巧厂房起火，证据全无。正义再次被颠覆。</p>

<p><a href="http://www.elivers.com/edit-hosts-file-of-windows-mobile-phone/edit-hosts-file-of-windows-mobile-phone/">修改windows mobile手机的hosts文件实现翻墙</a></p>

<p><a href="http://yalin.blog.51cto.com/262153/59962">技术QA：如何设置 Windows Mobile 6.0 模拟器上网？</a></p>

<p><a href="http://hi.baidu.com/madder/blog/item/a8cf6709306588c23ac7633c.html">禁用或者清除Windows7任务栏Jumplist技巧（或称打开记录，最近打开列表）</a></p>

<p><a href="http://dmitry.co/index.php?p=./04.Thoughts/07.%20Linux%20on%208bit#uniqstr_1333297640275_q">Linux on an 8-bit micro?</a> 8位cpu上启动32bit linux！</p>

<p><a href="http://www.timetimetime.net/yuedu/388.html">性欲和悲剧</a></p>

<p><a href="http://blog.csdn.net/shengyongwang/article/details/6121261">win7注册ocx时出现对DllRegisterServer的调用失败，错误代码为0&#215;80040200解决方案</a></p>

<p><a href="http://dzh.mop.com/shzt/20120323/0/lF33llI292508fF3.shtml">一个北大女毕业生的对社会的恐惧</a></p>

<p><a href="http://www.tianya.cn/publicforum/content/cars/1/228548.shtml">那些年，我们一起躲过的豪车……</a></p>

<p>三民主义统一中国VS一国两制统一中国</p>

<p><a href="http://www.google.com.hk/search?sourceid=chrome&#038;ie=UTF-8&#038;q=%E6%94%BF%E5%BA%9C%E7%89%B9%E6%AE%8A%E5%8F%B7%E7%89%8C%E7%AE%A1%E7%90%86%E7%B3%BB%E7%BB%9F">政府特殊号牌管理系统</a></p>

<p><a href="http://bbs.tiexue.net/post2_4253615_1.html">毛主席是我最亲最亲的亲人！</a></p>

<p><a href="http://data.163.com/12/0313/22/7SGRU51J00014MTN.html?from=index">为何月薪一万仍然是屌丝？</a></p>

<p><a href="http://www.google.com.hk/search?q=site:cntv.cn+an+error+occurred+while+processing+this+directive&#038;hl=zh-CN&#038;newwindow=1&#038;safe=strict&#038;prmd=imvns&#038;ei=yrFkT4T-JbCtiQe8stjyBQ&#038;start=130&#038;sa=N">site:cntv.cn an error occurred while processing this directive</a> cntv玩dedecms咋这么烂捏</p>

<p><a href="http://news.cntv.cn/china/20120304/111357.shtml">[每周质量报告]严打食品违法（20120304）</a></p>

<p><a href="http://news.cntv.cn/china/20120311/113100.shtml">[每周质量报告]透视银行不合理收费（20120311），郭田勇貌似有点结巴。。。。</a></p>

<p><a href="http://news.cntv.cn/china/20120315/109261.shtml">[每周质量报告]吉普的“马甲”（20120315）</a></p>

<p><a href="http://315.cntv.cn/2012/index.shtml">2012年315晚会官方网站_中国网络电视台</a> 麦当劳、家乐福封口费都舍不得，太抠门了。</p>

<p><a href="http://zhidao.baidu.com/question/377315056.html?seed=0">十行代码九个警告八个错误竟然敢说七日精通六天学会五湖四海也不见如此三心二意之项目经理简直一等下流。</a></p>

<p><a href="http://zh.wikipedia.org/wiki/電腦裝置頻寬列表">http://zh.wikipedia.org/wiki/電腦裝置頻寬列表</a></p>

<p><a href="http://zh.wikipedia.org/wiki/SATA">http://zh.wikipedia.org/wiki/SATA</a></p>

<p><a href="http://www.qt06.com/post/276/">写给360周总的一封信</a> 目前国内盲人使用的读屏软件有永德读屏、阳光读屏和争渡读屏软件。关注accessiblity.</a></p>

<p><a href="http://bolt.xunlei.com/">迅雷BOLT界面引擎</a> 很卡的引擎，你期待否？倒计时4 days left&#8230;</p>

<p><a href="http://blog.csdn.net/emma_he/article/details/4697008">关于InstallShield Projects</a></p>

<p><a href="http://www.cnblogs.com/SkyMouse/archive/2012/02/06/2340718.html">InstallShield安装过程介绍</a></p>

<p><a href="http://www.cnblogs.com/installshield/archive/2010/09/13/1824981.html">InstallShield自定义对话框模板代码</a></p>

<p><a href="http://hi.baidu.com/javalang/blog/item/16f4652231cb48a14723e80d.html">InstallShield创建自定义对话框的基本方法</a></p>

<p><a href="http://bellard.org/">Fabrice Bellard</a> QEMU, FFmpeg, Tiny C Compiler, Bellard&#8217;s formula的作者&#8230;.</p>

<p><a href="http://www.cnblogs.com/liubiaocai/archive/2011/07/19/2110248.html">winform闪屏问题解决方案</a> 重载<code>OnPaintBackground</code></p>

<p><a href="http://www.cnblogs.com/gsyst/archive/2012/03/06/2382606.html">windows 2003 网络负载平衡设置实战</a></p>

<p><a href="http://www.cnblogs.com/yuyijq/archive/2010/01/20/1652082.html">WinForm二三事（四）界面布局（上）</a></p>

<p><a href="http://www.cnblogs.com/liyanblog/archive/2012/03/07/2383177.html">HTML5+CSS3学习笔记（一） 概述</a></p>

<p><a href="http://www.cnblogs.com/cppguru/archive/2011/08/30/2159025.html">读平凡世界,看程序人生</a></p>

<p><a href="http://www.cnblogs.com/twjcnblog/archive/2012/03/02/Unity3D.html">Unity3D学习之路 &#8211; C#学习笔记(一)</a></p>

<p><a href="http://www.codeproject.com/Articles/18062/Detecting-USB-Drive-Removal-in-a-C-Program/">Detecting USB Drive Removal in a C# Program</a></p>

<p><a href="http://www.tianya.cn/publicforum/content/free/1/2406048.shtml">癌症病人到医院就是唐僧肉</a></p>

<p><a href="http://social.msdn.microsoft.com/Forums/zh-CN/visualcshartzhchs/thread/9a03e920-02c1-476d-a0cd-b0ca218a7f6b/">c#在窗体间传递数据的方法</a></p>
<p><a href="http://v.youku.com/v_show/id_XMzQzMzA0NTg0.html">非你莫属 20120115</a></p>
<p><a href="http://v.youku.com/v_show/id_XMzQzNjMxMTc2.html">非你莫属 20120116</a></p>
<p><a href="http://v.youku.com/v_show/id_XMzQ1OTYyMzgw.html">非你莫属 20120125</a></p>
<p><a href="http://v.youku.com/v_show/id_XMzQ3MzQxOTQ0.html">非你莫属 20120130</a></p>
<p><a href="http://v.youku.com/v_show/id_XMzQ5MzU0MDEy.html">非你莫属 20120205</a></p>
<p><a href="http://v.youku.com/v_show/id_XMzUxODY0NjQ4.html">非你莫属 20120212</a></p>
<p><a href="http://v.youku.com/v_show/id_XMzU0MzgzNjk2.html">非你莫属 20120219</a></p>
<p><a href="http://v.youku.com/v_show/id_XMzU0NzY2MDgw.html">非你莫属 20120220</a></p>
<p><a href="http://blog.csdn.net/stone_kingnet/article/details/3862504">Windows DLL编程中的导入导出：__declspec(dllimport) ，__declspec(dllexport) ，</a></p>
<p><a href="http://topic.csdn.net/t/20021118/11/1185238.html">__declspec( dllimport ) __declspec(dllexport) 都是什么意思？</a></p>
<p><a href="http://www.vckbase.com/document/viewdoc/?id=1788">MFC中基于对话框程序快捷键的实现</a></p>
<p><a href="http://zh.wikipedia.org/wiki/%E7%8E%8B%E7%AB%8B%E5%86%9B#.E7.8E.8B.E7.AB.8B.E5.86.9B.E4.BA.8B.E4.BB.B6">王立军</a></p>
<p><a href="http://www.vckbase.com/document/viewdoc/?id=566">VC6中使用CHtmlView在对话框控制中显示HTML文件</a></p>
<p><a href="http://blog.csdn.net/lixiaosan/article/details/653563">CListCtrl 使用技巧</a></p>
<p><a href="http://blog.csdn.net/wangchyz/article/details/6795419">Duilib入门文档</a></p>
<p><a href="http://www.vckbase.com/document/viewdoc/?id=1174">Visual C++ 中操纵 MS Word 123</a></p>
<p><a href="http://www.cnblogs.com/BoyceLin/archive/2010/08/27/1809810.html">关闭Visual Studio 2008 实时调试器</a></p>
<p><a href="http://news.mydrivers.com/1/216/216446.htm">电商成黑客敛财新手段 90%电商用户数据外泄？</a></p>
<p><a href="http://depositfiles.com/files/hp425cgss/IDM.UltraEdit.v17.00.0.1041.Incl.Keygen.CHINESE-Lz0.rar">IDM.UltraEdit.v17.00.0.1041.Incl.Keygen.CHINESE-Lz0.rar</a></p>
<p><a href="http://www.tudou.com/programs/view/dQE2Id8R0LU/">2012哥伦比亚大学中国新年晚会留学生原创群口相声《如此纳贤》</a></p>
<p><a href="http://www.tudou.com/programs/view/wZmJAetwI9w/">一对鸡翅膀的命运</a></p>]]></content:encoded>
			<wfw:commentRss>http://tunps.com/reading-2012-0203/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>找不到附属汇编 Microsoft.VC80.DebugCRT，上一个错误是 参照的汇编没有安装在系统上。</title>
		<link>http://tunps.com/microsoft-vc80-debugcrt</link>
		<comments>http://tunps.com/microsoft-vc80-debugcrt#comments</comments>
		<pubDate>Wed, 01 Feb 2012 14:34:18 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://tunps.com/?p=7853</guid>
		<description><![CDATA[来自http://tunps.com/microsoft-vc80-debugcrt找不到附属汇编 Microsoft.VC80.DebugCRT，上一个错误是 参照的汇编没有安装在系统上。 使用VC 2005(SP1)开发了一个程序，之后一段时间系统重装了，VC 2005也重装了(没有装SP1)。打开项目正常编译，但是调试提示以下内容： --------------------------- Microsoft Visual Studio --------------------------- 无法启动程序“d:\dev\debug\test.exe”。 由于应用程序配置不正确，未能启动此应用程序。请查看清单文件以查找可能的错误。重新安装该应用程序可能修复此问题。有关更多详细信息，请参见应用程序事件日志。 打开“事件查看器”，“系统”分类下面有3个来源于“SideBySide”的错误，信息分别如下： 找不到附属汇编 Microsoft.VC80.DebugCRT，上一个错误是 参照的汇编没有安装在系统上。 Resolve Partial Assembly 为 Microsoft.VC80.DebugCRT 失败。 参考错误消息: 参照的汇编没有安装在系统上。 Generate Activation Context 为 d:\dev\debug\test.exe 失败。 参考错误消息: 操作成功完成。 在项目的Debug目录下面生成了两个文件 test.exe.embed.manifest 和 test.exe.intermediate.manifest，是所谓的资源清单文件。内容是一样的： &#60;?xml version="1.0" encoding="UTF-8" &#8230; <a href="http://tunps.com/microsoft-vc80-debugcrt">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>来自<a href="http://tunps.com/microsoft-vc80-debugcrt">http://tunps.com/microsoft-vc80-debugcrt</a></p><p>找不到附属汇编 Microsoft.VC80.DebugCRT，上一个错误是 参照的汇编没有安装在系统上。</p>
<p>使用VC 2005(<strong>SP1</strong>)开发了一个程序，之后一段时间系统重装了，VC 2005也重装了(没有装SP1)。打开项目正常编译，但是调试提示以下内容：</p>
<pre>
---------------------------
Microsoft Visual Studio
---------------------------
无法启动程序“d:\dev\debug\test.exe”。
由于应用程序配置不正确，未能启动此应用程序。请查看清单文件以查找可能的错误。重新安装该应用程序可能修复此问题。有关更多详细信息，请参见应用程序事件日志。
</pre>
<p>打开“事件查看器”，“系统”分类下面有3个来源于“SideBySide”的错误，信息分别如下：</p>
<pre>
找不到附属汇编 Microsoft.VC80.DebugCRT，上一个错误是 参照的汇编没有安装在系统上。
</pre>
<pre>
Resolve Partial Assembly 为 Microsoft.VC80.DebugCRT 失败。 参考错误消息: 参照的汇编没有安装在系统上。
</pre>
<pre>
Generate Activation Context 为 d:\dev\debug\test.exe 失败。 参考错误消息: 操作成功完成。
</pre>
<p>在项目的Debug目录下面生成了两个文件 test.exe.embed.manifest 和 test.exe.intermediate.manifest，是所谓的资源清单文件。内容是一样的：</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"&gt;
  &lt;dependency&gt;
    &lt;dependentAssembly&gt;
      &lt;assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"&gt;&lt;/assemblyIdentity&gt;
    &lt;/dependentAssembly&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;dependentAssembly&gt;
      &lt;assemblyIdentity type="win32" name="Microsoft.VC80.DebugMFC" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"&gt;&lt;/assemblyIdentity&gt;
    &lt;/dependentAssembly&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;dependentAssembly&gt;
      &lt;assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" language="*"&gt;&lt;/assemblyIdentity&gt;
    &lt;/dependentAssembly&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;dependentAssembly&gt;
      &lt;assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"&gt;&lt;/assemblyIdentity&gt;
    &lt;/dependentAssembly&gt;
  &lt;/dependency&gt;
&lt;/assembly&gt;
</pre>
<p>vs2005的版本号我们需要提及一下：</p>
<a href="http://tunps.com/vs2005-sp1-ver"><p>sp1前：8.0.50727.42(RTM.050727-4200)</p></a>
<p>sp1后：8.0.50727.762(SP.050727-7600)</p>
]]></content:encoded>
			<wfw:commentRss>http://tunps.com/microsoft-vc80-debugcrt/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>qzone api</title>
		<link>http://tunps.com/qzone-api</link>
		<comments>http://tunps.com/qzone-api#comments</comments>
		<pubDate>Mon, 30 Jan 2012 14:16:41 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
		
		<guid isPermaLink="false">http://tunps.com/?p=7852</guid>
		<description><![CDATA[来自http://tunps.com/qzone-api 列表： http://b1.qzone.qq.com/cgi-bin/blognew/blog_output_titlelist2?uin=10000&#38;vuin=10000&#38;verbose=1&#38;pos=0&#38;num=15&#38;sorttype=0&#38;v=1&#38;maxlen=68&#38;bdm=b.qzone.qq.com&#38;rand=0.11542812990956008&#38;g_tk=1595358287&#38;cate=&#38;cateHex=&#38;ref=qzone&#38;v6=1 uin:被访问的Q号 vuin:访问的Q号 verbose:是否显示目录信息（cate_info） pos:第一个的pos的offset num:显示文章数量，1~100 sorttype: 0:pubtime desc排序 按发表时间由新到旧排序 1:replytime desc排序 按最新评论时间由新到旧排序 3:按最后修改时间由新到旧排序 4:按评论数目由多到少排序 v:1 隐藏abstract v:2 显示abstract bdm:b域名 rand:随机数 g_tk:? cate:目录id cateHex:目录hex字符串 ref:引用 v6:1 版本6 内容： http://b1.qzone.qq.com/cgi-bin/blognew/blog_output_data?uin=10000&#38;blogid=1325561159&#38;styledm=ctc.qzonestyle.gtimg.cn&#38;imgdm=ctc.qzs.qq.com&#38;bdm=b.qzone.qq.com&#38;mode=0&#38;numperpage=15&#38;blogseed=0.4479592749848962&#38;property=GoRE&#38;timestamp=1325595249&#38;dprefix=&#38;g_tk=5381&#38;ref=qzone&#38;v6=1 blogid:文章id styledm:样式表域名 imgdm:图片域名 bdm:b域名 mode:? numperpage:每页数量 blogseed:随机输 property:GoRE timestamp:时间戳 &#8230; <a href="http://tunps.com/qzone-api">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>来自<a href="http://tunps.com/qzone-api">http://tunps.com/qzone-api</a></p><pre>
列表：
http://b1.qzone.qq.com/cgi-bin/blognew/blog_output_titlelist2?uin=10000&amp;vuin=10000&amp;verbose=1&amp;pos=0&amp;num=15&amp;sorttype=0&amp;v=1&amp;maxlen=68&amp;bdm=b.qzone.qq.com&amp;rand=0.11542812990956008&amp;g_tk=1595358287&amp;cate=&amp;cateHex=&amp;ref=qzone&amp;v6=1
uin:被访问的Q号
vuin:访问的Q号
verbose:是否显示目录信息（cate_info）
pos:第一个的pos的offset
num:显示文章数量，1~100
sorttype:
0:pubtime desc排序 按发表时间由新到旧排序
1:replytime desc排序 按最新评论时间由新到旧排序
3:按最后修改时间由新到旧排序
4:按评论数目由多到少排序
v:1 隐藏abstract
v:2 显示abstract
bdm:b域名
rand:随机数
g_tk:?
cate:目录id
cateHex:目录hex字符串
ref:引用
v6:1 版本6

内容：
http://b1.qzone.qq.com/cgi-bin/blognew/blog_output_data?uin=10000&amp;blogid=1325561159&amp;styledm=ctc.qzonestyle.gtimg.cn&amp;imgdm=ctc.qzs.qq.com&amp;bdm=b.qzone.qq.com&amp;mode=0&amp;numperpage=15&amp;blogseed=0.4479592749848962&amp;property=GoRE&amp;timestamp=1325595249&amp;dprefix=&amp;g_tk=5381&amp;ref=qzone&amp;v6=1
blogid:文章id
styledm:样式表域名
imgdm:图片域名
bdm:b域名
mode:?
numperpage:每页数量
blogseed:随机输
property:GoRE
timestamp:时间戳
dprefix:
g_tk:?
ref:引用
v6: 版本6

标题128
内容：153600
</pre>]]></content:encoded>
			<wfw:commentRss>http://tunps.com/qzone-api/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debug Assertion Failed! f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\dlgdata.cpp Line: 42</title>
		<link>http://tunps.com/mfc-dlgdata-cpp</link>
		<comments>http://tunps.com/mfc-dlgdata-cpp#comments</comments>
		<pubDate>Tue, 24 Jan 2012 09:17:01 +0000</pubDate>
		<dc:creator>tunpishuang</dc:creator>
				<category><![CDATA[mfc]]></category>

		<guid isPermaLink="false">http://tunps.com/?p=7847</guid>
		<description><![CDATA[来自http://tunps.com/mfc-dlgdata-cppDebug Assertion Failed! f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\dlgdata.cpp Line: 42 --------------------------- Microsoft Visual C++ Debug Library --------------------------- Debug Assertion Failed! Program: d:\dev\debug\Qzone2WP.exe File: f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\dlgdata.cpp Line: 42 For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts. &#8230; <a href="http://tunps.com/mfc-dlgdata-cpp">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>来自<a href="http://tunps.com/mfc-dlgdata-cpp">http://tunps.com/mfc-dlgdata-cpp</a></p><p>Debug Assertion Failed! f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\dlgdata.cpp Line: 42</p>
<pre>
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!

Program: d:\dev\debug\Qzone2WP.exe
File: f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\dlgdata.cpp
Line: 42

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
---------------------------
终止(A)   重试(R)   忽略(I)   
---------------------------
</pre>
<p>问题的原因是在界面上删除了相应的Control，但是没有删掉相应的DDV
<pre>
void CQzone2WPDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Control(pDX, IDC_USERLIST, m_userList); //delete this line!
}
</pre>]]></content:encoded>
			<wfw:commentRss>http://tunps.com/mfc-dlgdata-cpp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

