由于目前语音朗读移动开发包[SmartRead Mobile TTS SDK]已经做好的语音包和demo例子都是针对windows Mobile[PPC/SP]平台,虽然核心都是windows ce.net,但是由于windows mobile 和windows ce,CAB打包方式有些区别,CE包不能压缩,并且processtype也不相同,同时windows ce的界面大小也不是相同,目前的例子还不能使用在我indows ce上
应用户的要求,打包了windows CE 的ARM CAB和vs 2005 C#例子,需要的用户可以下载测试,具体的使用可以参考语音朗读移动开发包的使用
Windows ce CAB for ARM
http://www.smartysoft.com/cn/download/custom/smmobile.ce.ARM.CAB
Windows ce CAB for X86
http://www.smartysoft.com/cn/download/custom/smmobile.ce.X86.CAB
Windows ce CAB for MIPSII
http://www.smartysoft.com/cn/download/custom/smmobile.ce.MIPSII.CAB
vs2005 C# demo for winCE
http://www.smartysoft.com/cn/download/custom/demo_vs2005_csharp.rar
evc4 demo for winCE
http://www.smartysoft.com/cn/download/custom/demo_evc.rar
EVC例子说明:
把项目里面下面的几行屏蔽
//#include <aygshell.h>
// SHINITDLGINFO shidi;
// shidi.dwMask = SHIDIM_FLAGS;
// shidi.dwFlags =SHIDIF_SIPDOWN|SHIDIF_DONEBUTTON|SHIDIF_SIZEDLG;
// shidi.hDlg = hdlg;
// SHInitDialog(&shidi);
在link里面 加入ole32.lib
类似这样 commctrl.lib coredll.lib ole32.lib $(CEx86Corelibc)
$(CEx86Corelibc) 一项在emulator平台下好像是必须的,否则会出现,如下错误:
LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup
但在其他平台似乎就不需要了
link里面也不需要包括 aygshell.lib了
测试步骤:
1,上传CAB到winCE,安装
2,运行EVC,C#例子测试
如果你遇到任何问题,请联系我们,谢谢