📄 docer2.htm
字号:
<HTML><HEAD>
<TITLE>项目源代码使用说明</TITLE>
<meta name="description" content="介绍如何使用代码文档生成器项目的源代码,包括产品工程和测试工程。">
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="pic/style.css" type=text/css rel=stylesheet>
</HEAD>
<BODY leftMargin=0 topMargin=0>
<!--PAGE_HEAD_BEGIN-->
<table width="800" height="192" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="56" height="56" valign="top" bgcolor="#c3daec" ><img src="pic/n_left.gif" width="56" height="190">
</td>
<td width="687" valign="top"><table width="687" height="42" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="td2">
<tr>
<td width="89" background="pic/top_back.gif"><img src="pic/logo.gif" width="150" height="42" alt="凯乐软件"></td>
<td width="559" background="pic/top_back.gif" valign="bottom"><table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="right"><a href="http://www.KaileSoft.cn/">首 页</a> | <a href="http://www.KaileSoft.cn/products/"> 产品介绍</a> |
<a href="http://www.KaileSoft.cn/download/"> 下载中心</a> | <a href="http://www.KaileSoft.cn/teaching/">
演示与教程</a> | <a href="http://www.KaileSoft.cn/bbs/"> 技术论坛</a> | <a href="http://www.KaileSoft.cn/faq/"> 问题解答</a> | <a href="http://www.KaileSoft.cn/contactus.htm"> 联系我们</a></div></td>
</tr>
<tr>
<td height="6"></td>
</tr>
</table></td>
</tr>
</table>
<table width="650" height="150" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="td2">
<tr>
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="685" height="150">
<param name="movie" value="pic/top.swf">
<param name="quality" value="high">
<embed src="pic/top.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="685" height="150"></embed></object></td>
</tr>
</table>
<table width="687" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="td2">
<tr>
<td background="pic/n_back1.gif" height="9"></td>
</tr>
</table></td>
<td width="57" valign="top" bgcolor="#c3daec"><img src="pic/n_right.gif" width="56" height="190"></td>
</tr>
</table>
<!--PAGE_HEAD_END-->
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="56" valign="top" bgcolor="#c3daec" > </td>
<td width="687" valign="top">
<table width="100%" height="40" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="td2">
<tr>
<td width="100%" bgcolor="#f2f2f2" valign="top">
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" height="38" border="0" cellpadding="0" cellspacing="0" background="pic/bt_back.gif">
<tr>
<td class="title"><div align="center"><strong>
<!--SUBJECT_BEGIN-->
</strong><b>项目源代码使用说明</b></div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="5" bgcolor="#f8f8f8"></td>
</tr>
<tr>
<td height="5" bgcolor="#ffffff"></td>
</tr>
<tr>
<td valign="top" bgcolor="#ffffff">
<table width=98% align=center><tr><td>
源代码包括产品工程和测试工程:<br>
产品工程目录:/源代码/Docer/<br>
测试工程目录:/源代码/TestDocer/<br>
<br>
安装Visual Unit1.3,启动VC6,将产品工程目录及Visual Unit安装目录/include/添加到搜索路径,更详细的信息请查看Visual Unit帮助《新建测试工程-VC6》。<br>
<br>
产品工程可以使用VC6直接编译。<br>
<br>
测试工程的编译运行:<br>
1)启动Visual Unit(个人版或企业版),导航窗口->菜单->目录,选择产品工程和测试工程的目录;<br>
2)试一下编译测试工程,如果通不过编译,请查看帮助《编译错误》章节的说明;<br>
3)在导航窗口选择要测试的源文件,如产品工程目录下的ExFunction.cpp文件;<br>
4)在导航窗口函数列表中选择一个函数,如ParseOneParameter,编译并执行测试工程(Execute
Program或Ctrl+F5),即可执行测试。<br>
5)企业版用户可以使用IDE插件,自动选择要测试的文件和函数,请查看帮助中《使用IDE插件》章节。<br>
6)要调试程序,添加断点,如在CExFunction::ParseOneParameter()入口处加断点,执行调试(Go或F5),即可进入调试,调试前可以打开测试用例编辑器选择调试输入(测试用例),调试过程中也可以切换用例,请参考帮助《排错--调试》。企业版用户,可以直接执行IDE插件的调试命令,无需手工断点。<br>
7)大多数代码(比较简单的除外)都是边开发边在Visual Unit的支持下调试的,不需要界面,随便选择一个函数都可以立即进入调试,也可以随便增删修改调试输入(使用测试用例编辑器)。<br>
8)目前版本仅实现了最基本功能,为了检验和展示Visual Unit的适应能力,很多代码不完善或有重构的必要,同时也有很多测试用例不完整。如果您有意扩展
本项目的功能,请在Visual Unit的支持下编码调试,即使是免费的个人版,也能大幅提高开发的效率和质量。
<!--CONTENT_END--></td></tr></table>
</td>
</tr>
<tr>
<td height="10" bgcolor="#ffffff"></td>
</tr>
<tr>
<td height="30" bgcolor="#f2f2f2" align=right valign=center><a href="javascript:history.back()"><img src="pic/back.gif" alt="返回上页" border="0"></a></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="57" valign="top" bgcolor="#c3daec"> </td>
</tr>
</table>
<!--PAGE_TAIL_BEGIN-->
<table width="800" height="107" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="107" valign="top" bgcolor="#c3daec">
<table width="687" height="37" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="td2">
<tr>
<td background="pic/foot_back.gif" style="letter-spacing:1pt;"><div align="center"><a href="http://www.KaileSoft.cn/">首 页</a> | <a href="http://www.KaileSoft.cn/products/"> 产品介绍</a> |
<a href="http://www.KaileSoft.cn/download/"> 下载中心</a> | <a href="http://www.KaileSoft.cn/teaching/">
演示与教程</a> | <a href="http://www.KaileSoft.cn/bbs/"> 技术论坛</a> | <a href="http://www.KaileSoft.cn/faq/"> 问题解答</a> | <a href="http://www.KaileSoft.cn/contactus.htm"> 联系我们</a></div></td>
</tr>
</table>
<table width="687" height="70" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="td2">
<tr>
<td background="pic/foot_back2.gif" bgcolor="#FFFFFF">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center"><font color="#333333">Copyright ©
2006 KaileSoft.cn All Rights Reserved </font></div></td>
</tr>
<tr>
<td><div align="center"><font color="#333333">广州市凯乐软件技术有限公司</font></div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<!--PAGE_TAIL_END-->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -