1. Create a threadWhen a managed thread is created, the method that executes on the thread is represented by a ThreadStart delegate or a ParameterizedThreadStart delegate that is passed to the Thread ...
posted @ 2010-03-22 16:59 Jiansong 阅读(963) 评论(0) 推荐(0)
摘要: There are three major formats of serialization available: binary, XML and SOAP.1. Binary Serialization1.1 Characteristic· Produces a non-printable sequence of byte-oriented data that represents t... 阅读全文
posted @ 2010-03-22 16:58 Jiansong 阅读(964) 评论(0) 推荐(0)
摘要: In this section, we mainly talks about using the Dns class to perform DNS name resolution. The Dns class can perform both forward and reverse name lookup to a DNS server. Forward name lookup is resolv... 阅读全文
posted @ 2010-03-22 16:56 Jiansong 阅读(422) 评论(0) 推荐(0)
摘要: 前几天需要在Wince上进行文件拷贝, 自己用FindFirstFile 和 FindNextFile 实现了文件、目录的拷贝功能。为了能够在一个函数中同时Copy目录或文件,那么就需要首先判断你给的参数是个目录还是文件,然后进行相应的拷贝或者递归处理。虽然实现的还是有些缺点,比如没有处理给定的目录参数后面带反斜线的情况。先定义打印log的宏和数组长度[代码]1. Copy 文件或目录 ----&... 阅读全文
posted @ 2010-02-05 17:07 Jiansong 阅读(528) 评论(0) 推荐(0)
摘要: 在Windows CE6的开发中,Douglas Boling所展现的更新后的开发架构,个人认为确实不错。在这里Share一下,希望能够对于大家的开发有所帮助。Windows典型的SDK风格,在窗口过程函数中有一个巨大的Switch语句用来分析各种消息并进行处理。如果消息的处理代码比较多的话,那么整个窗口过程函数会变的比较混乱。 Douglas将窗口过程分解,对于每个消息构建单独的函数来进行处理,... 阅读全文
posted @ 2010-02-05 16:12 Jiansong 阅读(410) 评论(0) 推荐(0)
摘要: 本书的第一章简单介绍了WinCE应用程序的开发,跟Win32应用程序的开发类似,也是要设计窗口类,注册窗口类,消息循环等。要想更好的理解掌握书中的内容,最好的方法是把书中的例子亲自手敲调试一边。很多貌似简单的内容,真正动手起来还是会遇到或多或少的问题。 书中的Hello3程序,在VS2008上直接编译,是通不过的。 它会提示类似的信息:[代码]解决方法有两种:1. 新建一个非空的Win32 sma... 阅读全文
posted @ 2010-01-20 19:35 Jiansong 阅读(566) 评论(0) 推荐(0)
摘要: 在使用Microsoft Speech SDK 5.1开发语音识别程序时,包含了头文件“sphelper.h”和库文件“sapi.lib”。编译时出错:1>c:\program files\microsoft speech sdk 5.1\include\sphelper.h(769) : error C4430: missing type s... 阅读全文
posted @ 2010-01-07 23:38 Jiansong 阅读(854) 评论(0) 推荐(0)
摘要: Microsft的SDK上面有一些简单的例子用来说明如何开发语音识别程序。目前大部分人所用的开发环境应该是VS2005或VS2008。在SAPI 的SDK中对于VC6的配置有一些说明。但是在VS2005\VS2008稍微有些不同,假设SDK安装目录在C:\Program Files\Microsoft Speech SDK 5.1。设置如下:打开VS2005/VS2008,打开Tools->... 阅读全文
posted @ 2010-01-07 23:23 Jiansong 阅读(1001) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示