﻿<?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>C++博客-milkyway的窝-随笔分类-evc</title><link>http://www.cppblog.com/milkyway/category/4037.html</link><description>多看,多想,多实验</description><language>zh-cn</language><lastBuildDate>Tue, 20 May 2008 01:14:04 GMT</lastBuildDate><pubDate>Tue, 20 May 2008 01:14:04 GMT</pubDate><ttl>60</ttl><item><title>EVC下加入列表框</title><link>http://www.cppblog.com/milkyway/archive/2007/07/10/27775.html</link><dc:creator>相思酸中有甜</dc:creator><author>相思酸中有甜</author><pubDate>Tue, 10 Jul 2007 01:33:00 GMT</pubDate><guid>http://www.cppblog.com/milkyway/archive/2007/07/10/27775.html</guid><wfw:comment>http://www.cppblog.com/milkyway/comments/27775.html</wfw:comment><comments>http://www.cppblog.com/milkyway/archive/2007/07/10/27775.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/milkyway/comments/commentRss/27775.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/milkyway/services/trackbacks/27775.html</trackback:ping><description><![CDATA[<br>1.加入LIST BOX控件<br><br>2.声明位于<br>/ Dialog Data<br>&nbsp;//{{AFX_DATA(CVoltagecontrolDlg)<br>&nbsp;enum { IDD = IDD_VOLTAGECONTROL_DIALOG };<br>&nbsp;CListBox&nbsp;m_tlist;<br>...<br>//}}AFX_DATA<br><br>3.初始化<br>void CVoltagecontrolDlg::DoDataExchange(CDataExchange* pDX)<br>{<br>&nbsp;CDialog::DoDataExchange(pDX);<br>&nbsp;//{{AFX_DATA_MAP(CVoltagecontrolDlg)<br>&nbsp;DDX_Control(pDX, IDC_LIST1, m_tlist);<br>...<br>&nbsp;//}}AFX_DATA_MAP<br>}<br><br>4.程序<br>&nbsp;CString buffer;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //data list<br>&nbsp;&nbsp; buffer.Format(_T("T = %6.3f"),m_voltageout);<br>&nbsp;&nbsp; m_tlist.AddString(buffer);<br><br>
<img src ="http://www.cppblog.com/milkyway/aggbug/27775.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/milkyway/" target="_blank">相思酸中有甜</a> 2007-07-10 09:33 <a href="http://www.cppblog.com/milkyway/archive/2007/07/10/27775.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>evc如何初始化递归函数中的变量</title><link>http://www.cppblog.com/milkyway/archive/2007/06/02/25331.html</link><dc:creator>相思酸中有甜</dc:creator><author>相思酸中有甜</author><pubDate>Sat, 02 Jun 2007 07:52:00 GMT</pubDate><guid>http://www.cppblog.com/milkyway/archive/2007/06/02/25331.html</guid><wfw:comment>http://www.cppblog.com/milkyway/comments/25331.html</wfw:comment><comments>http://www.cppblog.com/milkyway/archive/2007/06/02/25331.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/milkyway/comments/commentRss/25331.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/milkyway/services/trackbacks/25331.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 为消除变量未初始化所做的工作及过程中的心得.&nbsp;&nbsp;<a href='http://www.cppblog.com/milkyway/archive/2007/06/02/25331.html'>阅读全文</a><img src ="http://www.cppblog.com/milkyway/aggbug/25331.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/milkyway/" target="_blank">相思酸中有甜</a> 2007-06-02 15:52 <a href="http://www.cppblog.com/milkyway/archive/2007/06/02/25331.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>避免运行时警告:Assertion Failed, WINCORE.CPP--Line 348,349,4199</title><link>http://www.cppblog.com/milkyway/archive/2007/05/29/25039.html</link><dc:creator>相思酸中有甜</dc:creator><author>相思酸中有甜</author><pubDate>Tue, 29 May 2007 02:12:00 GMT</pubDate><guid>http://www.cppblog.com/milkyway/archive/2007/05/29/25039.html</guid><wfw:comment>http://www.cppblog.com/milkyway/comments/25039.html</wfw:comment><comments>http://www.cppblog.com/milkyway/archive/2007/05/29/25039.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/milkyway/comments/commentRss/25039.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/milkyway/services/trackbacks/25039.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 编译环境: EVC4.0+SP4<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 由于在对话框中加入了自定义绘图控件,初始化与声明不合适导致此程序运行时出现三个ASSERT警告.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 解决办法参考: <a href="http://support.microsoft.com/kb/113421/en-us">http://support.microsoft.com/kb/113421/en-us</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 具体步骤: 1.在对话框资源里加入自定义控件, 设置属性,注意ID设为IDC_XXX的XXX和类名一致.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.在对话框类中添加成员变量,特别注意应该放在以下字段中,而不是普通的程序变量中<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLineChartCtrl&nbsp; m_LineChart;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;//}}AFX_DATA<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.在XXDlg.cpp中,不要重复关联控件ID和成员变量,在CDialog::DoDataExchange(pDX)里定义了DDX_Control(pDX, IDC_LineChartCtrl, m_LineChart);就不要在CDialog::OnInitDialog();再使用m_LineChart.SubclassDlgItem(IDC_LineChartCtrl, this);&nbsp;&nbsp; 与DDX重复关联了.<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 主要错误在于: 混淆了程序变量与控件变量, 并且重复关联控件ID与变量.
<img src ="http://www.cppblog.com/milkyway/aggbug/25039.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/milkyway/" target="_blank">相思酸中有甜</a> 2007-05-29 10:12 <a href="http://www.cppblog.com/milkyway/archive/2007/05/29/25039.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>evc的bug? 病毒？</title><link>http://www.cppblog.com/milkyway/archive/2007/05/10/23787.html</link><dc:creator>相思酸中有甜</dc:creator><author>相思酸中有甜</author><pubDate>Thu, 10 May 2007 06:54:00 GMT</pubDate><guid>http://www.cppblog.com/milkyway/archive/2007/05/10/23787.html</guid><wfw:comment>http://www.cppblog.com/milkyway/comments/23787.html</wfw:comment><comments>http://www.cppblog.com/milkyway/archive/2007/05/10/23787.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/milkyway/comments/commentRss/23787.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/milkyway/services/trackbacks/23787.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp; Rebuild时，停留在link...，并且无法stop; 使用任务管理器强行关闭后，再编译报错：Error spawning cl.exe。<br>一查找，发现在相应wce500\bin文件夹下的cl.exe消失。<br>目前的解决办法是把 wce420\bin下的cl.exe复制进来使用，暂时没有问题。
<img src ="http://www.cppblog.com/milkyway/aggbug/23787.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/milkyway/" target="_blank">相思酸中有甜</a> 2007-05-10 14:54 <a href="http://www.cppblog.com/milkyway/archive/2007/05/10/23787.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Windows CE5.0下绘制实时数据曲线</title><link>http://www.cppblog.com/milkyway/archive/2007/05/10/23786.html</link><dc:creator>相思酸中有甜</dc:creator><author>相思酸中有甜</author><pubDate>Thu, 10 May 2007 06:42:00 GMT</pubDate><guid>http://www.cppblog.com/milkyway/archive/2007/05/10/23786.html</guid><wfw:comment>http://www.cppblog.com/milkyway/comments/23786.html</wfw:comment><comments>http://www.cppblog.com/milkyway/archive/2007/05/10/23786.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/milkyway/comments/commentRss/23786.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/milkyway/services/trackbacks/23786.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: EVC绘制实时数据曲线思路，部分代码，注意事项与存在问题。欢迎指点！&nbsp;&nbsp;<a href='http://www.cppblog.com/milkyway/archive/2007/05/10/23786.html'>阅读全文</a><img src ="http://www.cppblog.com/milkyway/aggbug/23786.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/milkyway/" target="_blank">相思酸中有甜</a> 2007-05-10 14:42 <a href="http://www.cppblog.com/milkyway/archive/2007/05/10/23786.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>几个vc小技巧</title><link>http://www.cppblog.com/milkyway/archive/2007/04/23/22642.html</link><dc:creator>相思酸中有甜</dc:creator><author>相思酸中有甜</author><pubDate>Mon, 23 Apr 2007 06:51:00 GMT</pubDate><guid>http://www.cppblog.com/milkyway/archive/2007/04/23/22642.html</guid><wfw:comment>http://www.cppblog.com/milkyway/comments/22642.html</wfw:comment><comments>http://www.cppblog.com/milkyway/archive/2007/04/23/22642.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/milkyway/comments/commentRss/22642.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/milkyway/services/trackbacks/22642.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 如何检测程序中的括号是否匹配,查看一个宏定义,两种包含文件方式的区别,如何汉化只有可执行代码的.exe 文件&nbsp;&nbsp;<a href='http://www.cppblog.com/milkyway/archive/2007/04/23/22642.html'>阅读全文</a><img src ="http://www.cppblog.com/milkyway/aggbug/22642.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/milkyway/" target="_blank">相思酸中有甜</a> 2007-04-23 14:51 <a href="http://www.cppblog.com/milkyway/archive/2007/04/23/22642.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>关于h文件的include位置问题</title><link>http://www.cppblog.com/milkyway/archive/2007/04/15/21934.html</link><dc:creator>相思酸中有甜</dc:creator><author>相思酸中有甜</author><pubDate>Sun, 15 Apr 2007 03:28:00 GMT</pubDate><guid>http://www.cppblog.com/milkyway/archive/2007/04/15/21934.html</guid><wfw:comment>http://www.cppblog.com/milkyway/comments/21934.html</wfw:comment><comments>http://www.cppblog.com/milkyway/archive/2007/04/15/21934.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/milkyway/comments/commentRss/21934.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/milkyway/services/trackbacks/21934.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在头程序里定义驱动里的变量,编译报错 error C2146: syntax error : missing ';' before identifier '...'<br>要改正驱动头文件的include位置&nbsp;&nbsp;<a href='http://www.cppblog.com/milkyway/archive/2007/04/15/21934.html'>阅读全文</a><img src ="http://www.cppblog.com/milkyway/aggbug/21934.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/milkyway/" target="_blank">相思酸中有甜</a> 2007-04-15 11:28 <a href="http://www.cppblog.com/milkyway/archive/2007/04/15/21934.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>evc中嵌汇编实验心得</title><link>http://www.cppblog.com/milkyway/archive/2007/04/11/21672.html</link><dc:creator>相思酸中有甜</dc:creator><author>相思酸中有甜</author><pubDate>Wed, 11 Apr 2007 14:11:00 GMT</pubDate><guid>http://www.cppblog.com/milkyway/archive/2007/04/11/21672.html</guid><wfw:comment>http://www.cppblog.com/milkyway/comments/21672.html</wfw:comment><comments>http://www.cppblog.com/milkyway/archive/2007/04/11/21672.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/milkyway/comments/commentRss/21672.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/milkyway/services/trackbacks/21672.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 介绍在EVC里对于X86和ARM架构的CPU嵌入汇编时的注意之处和步骤.&nbsp;&nbsp;<a href='http://www.cppblog.com/milkyway/archive/2007/04/11/21672.html'>阅读全文</a><img src ="http://www.cppblog.com/milkyway/aggbug/21672.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/milkyway/" target="_blank">相思酸中有甜</a> 2007-04-11 22:11 <a href="http://www.cppblog.com/milkyway/archive/2007/04/11/21672.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>几个ＥＶＣ的编程体会</title><link>http://www.cppblog.com/milkyway/archive/2007/04/05/21356.html</link><dc:creator>相思酸中有甜</dc:creator><author>相思酸中有甜</author><pubDate>Thu, 05 Apr 2007 14:45:00 GMT</pubDate><guid>http://www.cppblog.com/milkyway/archive/2007/04/05/21356.html</guid><wfw:comment>http://www.cppblog.com/milkyway/comments/21356.html</wfw:comment><comments>http://www.cppblog.com/milkyway/archive/2007/04/05/21356.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/milkyway/comments/commentRss/21356.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/milkyway/services/trackbacks/21356.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: ＥＶＣ做了个数据采集控制系统，新手的几点体会．&nbsp;&nbsp;<a href='http://www.cppblog.com/milkyway/archive/2007/04/05/21356.html'>阅读全文</a><img src ="http://www.cppblog.com/milkyway/aggbug/21356.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/milkyway/" target="_blank">相思酸中有甜</a> 2007-04-05 22:45 <a href="http://www.cppblog.com/milkyway/archive/2007/04/05/21356.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>