📄 symbian.mht
字号:
<li><a id="SingleColumn1_ctl02_RecentPostsList_ctl12_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/ufoer23/archive/2005/12/28/306845.html">22. Tapestry解决在带有<"">html元素里面插入数据</a></li>
<li><a id="SingleColumn1_ctl02_RecentPostsList_ctl13_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/ufoer23/archive/2005/12/27/305881.html">23. usertype的详细解释和使用实例</a></li>
<li><a id="SingleColumn1_ctl02_RecentPostsList_ctl14_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/ufoer23/archive/2005/12/26/304893.html">24. String.equals()和String.equalsIgnoreCase()的区别 </a></li>
<li><a id="SingleColumn1_ctl02_RecentPostsList_ctl15_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/ufoer23/archive/2005/12/19/299897.html">25. TOMCAT5.0乱码问题解决方法</a></li>
<li><a id="SingleColumn1_ctl02_RecentPostsList_ctl16_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/ufoer23/archive/2005/11/29/286682.html">26. Incorrect result size: expected 1, actual 0错误以及解决方法</a></li>
<li><a id="SingleColumn1_ctl02_RecentPostsList_ctl17_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/ufoer23/archive/2005/11/16/277777.html">27. log4j配置</a></li>
<li><a id="SingleColumn1_ctl02_RecentPostsList_ctl18_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/ufoer23/archive/2005/10/27/262974.html">28. Hibernate中get查询和load查询的异同(深入浅出hibernate)</a></li>
<li><a id="SingleColumn1_ctl02_RecentPostsList_ctl19_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/ufoer23/archive/2005/10/19/257748.html">29. appfuse1.8.0安装app_user.enabled data type (1111, ‘bit’) not recognized and will be ignored错误解决办法</a></li>
<li><a id="SingleColumn1_ctl02_RecentPostsList_ctl20_RecentPostsList2_ctl00_Hyperlink1" href="http://www.cnblogs.com/ufoer23/archive/2005/10/18/257159.html">30. Spring下的业务层Unit Test修正版</a></li>
</ul>
</div>
<script language="JavaScript">
function SearchGoogle(key,evt,site)
{
if(evt.keyCode==13 || evt.keyCode==0 || evt.type =='click')
{
key.focus();
var keystr = encodeURIComponent(key.value);
url = "http://www.google.com/search?q=";
url = url+keystr;
url += "&ie=UTF-8&oe=GB2312&hl=zh-CN&domains="+site+"&sitesearch="+site;
window.location=url;
return false;
}
}
</script>
<H3>搜索</H3>
<ul>
<li>
<li><input style="WIDTH: 130px" type="text" name="q" id="q" onkeydown="return SearchGoogle(document.getElementById('q'),event,'http://www.cnblogs.com/ufoer23/')"> <input onclick="SearchGoogle(document.getElementById('q'),event,'http://www.cnblogs.com/ufoer23/')" type="button" value="搜索" name="sa">
</li>
</ul>
<div class="spacer"> </div>
</div>
<div id="main">
<script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('AjaxHolder$scriptmanager1', document.getElementById('Form1'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tAjaxHolder$UpdatePanel1'], [], [], 90);
//]]>
</script>
<div class="block">
<h1 class="block_title"><a id="AjaxHolder_ctl01_TitleUrl" href="http://www.cnblogs.com/ufoer23/archive/2006/06/02/415860.html">磨刀不误砍柴工-打造超级Symbian开发环境</a></h1>
<div class="post">
<div class="postcontent">
转载于:<a href="http://www.sf.org.cn/Article/lumen/200605/18518.html">http://www.sf.org.cn/Article/lumen/200605/18518.html</a><br><br>在开发<a class=channel_keylink href="http://www.sf.org.cn/symbian/">Symbian</a> C++程序的时候,一个很重要的环节就是选择和配置IDE,当前可供选择的IDE也比较多,例如Microsoft Visual C++ 6.0, CodeWarrior, Borland C++Builder X, Borland C++Builder 6.0, Microsoft Visual Studio .NET 2003。至于选择哪个IDE,主要看个人习惯和你的开发应用领域,这里没有绝对的谁好谁坏,至于如何配置这些IDE,很多<a class=channel_keylink href="http://www.sf.org.cn/symbian/">Symbian</a>入门帖子都对此进行了讨论。本文主要说一下如何在VC++6.0下,使你的IDE更好用和更有效率。
<p> 作为一个老牌的C++集成开发环境,在开发<a class=channel_keylink href="http://www.sf.org.cn/symbian/">Symbian</a>应用程序的时候,VC6.0的用户还是很多的,但是如果不自己动手为VC6.0添加点东东,那么就直接使用它则是一个很失败的选择。下面就逐一说明之。</p>
<p><1>VC6.0在调试Symbian ++程序的时候不能查看描述符变量的数据。解决办法:添加以下内容到你的Microsoft Visual Studio\Common\MSDev98\Bin\AUTOEXP.DAT</p>
<p>//-------添加部分------------------------</p>
<p>/;add parts in order to debug for Symbian S60<br>TDesC16=$ADDIN(ShowDes.dll,TDesC16_View)<br>TDesC8=$ADDIN(ShowDes.dll,TDesC8_View)</p>
<p>TInt64 =low=<iLow> high=<iHigh><br>TDateTime =day(zero based)=<iDay> mth=<iMonth> yr=<iYear> hr=<iHour> min=<iMinute> sec=<iSecond>.<iMicroSecond><br>CActive= iIsActive=<iActive><br>CArrayFixBase= iCount=<iCount><br>CArrayVarBase= iCount=<iCount><br>CBase= <,t><br>RHandleBase= <iHandle,x> <,t><br>RRegion= Rects=<iCount> Err=<iError> iTl.iX=<iRectangleList->iTl.iX> iTl.iY=<iRectangleList->iTl.iY> iBr.iX=<iRectangleList->iBr.iX> iBr.iY=<iRectangleList->iBr.iY><br>TChar=<iChar> <iChar,c><br>TLex8= iNext=<iNext,s><br>TLex16= iNext=<iNext,su><br>TPoint= iX=<iX> iY=<iY><br>TRect= iTl.iX=<iTl.iX> iTl.iY=<iTl.iY> iBr.iX=<iBr.iX> iBr.iY=<iBr.iY><br>TRegion= numRects=<iCount> Err=<iError><br>TRequestStatus= <iStatus><br>TSize= iWidth=<iWidth> iHeight=<iHeight><br>TTime= iLow=<iTime.iLow,x> iHigh=<iTime.iHigh,x><br>TTimeIntervalBase= <iInterval,d> <,t><br>TUid= iUid=<iUid><br>TStreamId= iVal=<iVal><br>TMargins= iLeft=<iLeft> iRight=<iRight> iTop=<iTop> iBottom=<iBottom><br>TPageSpec= iOrientation=<iOrientation><br>TRgb= R=<iValue&0xff> G=<iValue/256%256)> B=<iValue/65536><br>TPointerEvent=iType=<iType>, iPos.iX=<iPosition.iX>, iPos.iY=<iPosition.iY><br>TCellRef=iRow=<iRow>, iCol=<iCol><br>TRangeRef=iFrom.iRow=<iFrom.iRow>, iFrom.iCol=<iFrom.iCol>, iTo.iRow=<iTo.iRow>, iTo.iCol=<iTo.iCol><br>CCoeControl= iPosition=(<iPosition.iX>,<iPosition.iY>) iSize=(<iSize.iWidth>,<iSize.iHeight>)</p>
<p>; Symbian Strings & Descriptors<br>TDes16=<,t> length=<iLength> max=<iMaxLength><br>TDesC16=<,t> length=<iLength><br>TPtr=length=<iLength> max=<iMaxLength> ptr=<iPtr+2,su><br>TPtr16=length=<iLength> max=<iMaxLength> ptr=<iPtr+2,su><br>TPtrC=length=<iLength> ptr=<iPtr,su><br>TPtrC16=length=<iLength> ptr=<iPtr,su><br>TBuf<*>=length=<iLength> max=<iMaxLength> buf=<iBuf,su><br>TBufC<*>=length=<iLength> buffer=<iBuf,su><br>HBufC16=length=<iLength> buffer=<iBuf,su><br>TLitC<*>=length=<iTypeLength> buf=<iBuf,su><br>TDes8=<,t> length=<iLength> max=<iMaxLength><br>TDesC8=<,t> length=<iLength><br>TPtr8=length=<iLength> max=<iMaxLength> ptr=<iPtr,s><br>TPtrC8=length=<iLength> ptr=<iPtr,s><br>TBuf8<*>=length=<iLength> max=<iMaxLength> buffer=<iBuf,s><br>TBufC8<*>=length=<iLength> buffer=<iBuf,s><br>HBufC8=length=<iLength> buffer=<iBuf,su><br>TLitC8<*>=length=<iTypeLength> buffer=<iBuf,s><br>TFileName= <iBuf,su><br>TFullName= <iBuf,su></p>
<p><2>VC6.0不支持Symbian的关键字突出显示。解决办法:到<a href="http://www.newlc.com/"><u><font color=#0000ff>www.newLC.com</font></u></a>上面搜索USERTYPE.dat这个东东,下载后粘贴在\Microsoft Visual Studio\Common\MSDev98\Bin\下。(当然你也可以打开此文件,添加你想让编译器突出显示的任何类型)。</p>
<p><3>VC6.0很容易和金山词霸发生冲突导致内存泄漏,从而导致你的VC6.0没有响应。解决办法:到<a href="http://www.kingsoft.com/download/36/228.shtml"><u><font color=#0000ff>http://www.kingsoft.com/download/36/228.shtml</font></u></a>下载金山词霸的补丁,然后安装;或者关闭词霸的屏幕取词。</p>
<p><4>由于Symbian中的类的名字都比较长,编程时全部用手输入类名或函数名时是一件很费时且效率低的事情。解决办法:下载安装Visual Assist X 插件(找破解版的,否则使用Visual Assist X 有时间限制,很不爽!)</p>
<p><5>为你的VC6.0打上补丁包,至少sp3吧,否则有时会出现莫名其妙的错误。</p>
<p><6>在模拟器上调试程序时,有时会碰到这样的错误“Programe Closed xx”,如果没有适当的提示信息,调试这类错误是很麻烦和费力的。解决办法:在epoc32\wins\c\System\Bootdata目录下新建一个ErrRd的文件(无文件名后缀);这样就可以在“Programe Closed ”的下发显示出错误的类型,然后到SDK的<a href="mk:@MSITStore:C:\Symbian\8.0a\S60_2nd_FP2_SC\Series60Doc\Symbian_DevLib.chm::/doc_source/index.html"><u><font color=#0000ff>Developer Library</font></u></a> <span class=separator>»</span> <a href="mk:@MSITStore:C:\Symbian\8.0a\S60_2nd_FP2_SC\Series60Doc\Symbian_DevLib.chm::/doc_source/reference/index.html"><u><font color=#0000ff>API Reference</font></u></a> <span class=separator>»</span> System panic reference查找对应的错误原因,呵呵,再来调试就轻松多了。</p>
<p><7>待续.....</p>
<p>呵呵,等你完成以上设置后,再打开你的VC看看,会有另外一番感受的,至少我是这样。^_^!</p>
</div>
<div class="itemdesc">
posted on 2006-06-02 14:55 <a href='http://ufoer23.cnblogs.com/'>不明飞行物</a> 阅读(593) <a href='#Post'>评论(1)</a> <a href="http://www.cnblogs.com/ufoer23/admin/EditPosts.aspx?postid=415860">编辑</a> <a href="http://www.cnblogs.com/ufoer23/AddToFavorite.aspx?id=415860">收藏</a> 所属分类: <a href='http://www.cnblogs.com/ufoer23/category/59341.html'>SYMBIAN</a>
</div>
</div>
<div class="seperator"> </div>
<img src ="cid:000501c86ec7$edce8f86$_CDOSYS2.0" width = "1" height = "1" />
<!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<rdf:Description
rdf:about="http://www.cnblogs.com/ufoer23/archive/2006/06/02/415860.html"
dc:identifier="http://www.cnblogs.com/ufoer23/archive/2006/06/02/415860.html"
dc:title="磨刀不误砍柴工-打造超级Symbian开发环境"
trackback:ping="http://www.cnblogs.com/ufoer23/services/trackbacks/415860.aspx" />
</rdf:RDF>
-->
<div id="AjaxHolder_UpdatePanel1">
<a name="pagedcomment"></a>
<div class="post">
<a name="评论" />
<div class="moreinfo">
<div class="moreinfotitle">
Comments
</div>
<div class="comments">
<div class="comment">
<div class="comment_title">
<a title="permalink: re: 磨刀不误砍柴工-打造超级Symbian开发环境" href="/ufoer23/archive/2006/06/02/415860.html#482692">#1楼</a> <a name="482692"></a><a name="Post"></a>
</div>
<div class="comment_author"><a id="AjaxHolder_Comments_CommentList_ctl01_NameLink" target="_blank">Nash [未注册用户]</a></div>
<div class="comment_content">可否把USERTYPE.dat传给我,我去网上下不到。
<br>我的QQ:11610986
<br>Email:tangwj123@163.com
<br>谢谢了</div>
<div class="itemdesc">Posted @ 2006-08-21 21:00 <a onclick="return SetReplyAuhor("Nash")" href="/ufoer23/archive/2006/06/02/415860.html#post">回复</a> <a onclick="GetQuote(482692);return false" href="/ufoer23/archive/2006/06/02/415860.html#post">引用</a> <a title="查看该作者发表过的评论" href="http://www.cnblogs.com/CommentsByAuthor.aspx?author=Nash+%5b%e6%9c%aa%e6%b3%a8%e5%86%8c%e7%94%a8%e6%88%b7%5d" target="_blank">查看</a> <a id="AjaxHolder_Comments_CommentList_ctl01_DeleteLink" href="javascript:__doPostBack('AjaxHolder$Comments$CommentList$ctl01$DeleteLink','')"></a> <a id="AjaxHolder_Comments_CommentList_ctl01_EditLink"></a></div>
</div>
</div>
</div>
</div>
<div class="seperator"> </div>
<style>
td { font-size: 12px }
.commentTextBox
{
font-family : Verdana;
font-size: 13px;
}
a.blue:visited,
a.blue:active,
a.blue:link,
a.blue:hover
{
color:blue;
}
</style>
<!--Beging Temp Save-->
<STYLE>.userData { BEHAVIOR: url(#default#userdata) }
</STYLE>
<DIV class="userData" id="CommentsPersistDiv"></DIV>
<script type="text/javascript">
function pageLoad()
{
Sys.WebForms.PageRequestManager.getInstance().add_initializeRequest(handleInitializeRequest);
//Sys.WebForms.PageRequestManager.getInstance().add_endRequest(handleEndRequest);
}
function handleInitializeRequest(sender, args)
{
var prm = Sys.WebForms.PageRequestManager.getInstance();
var eid = args.get_postBackElement().id;
if (eid.indexOf("DeleteLink")>0)
{
args.get_postBackElement().innerHTML = "<font color='red'>正在删除...</font>";
}
else if (eid.indexOf("btnSubmit")>0)
{
document.getElementById("AjaxHolder_PostComment_ltSubmitMsg").innerHTML="正在提交...";
document.getElementById("AjaxHolder_PostComment_btnSubmit").disabled = true;
}
else if(eid.indexOf("refreshList")>0)
{
document.getElementById("AjaxHolder_PostComment_refreshList").innerHTML="<font color='red'>正在刷新...</font>";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -