posted @ 2010-09-01 10:19 eping 阅读(76) 评论(0) 编辑

今天在看微软关于fat格式的白皮书的时候看到了一个名词:Little-Endian

什么是Big?什么是Little?要理解这个问题,必须要知道数据在机器中存储的规则.....

    所谓的Little-Endian,就是我们在学习汇编时候的高高低低原则,而Bit-Endian就是刚刚相反,例如:12345678h这个数据,在不同机器中存储是不同的

助解          [从大(高位)放到小(低位)]                    [从小(低位)放到大(高位)]    

                 Big-Endian                                      Little-Endian

0字节            12h                                                    78h

1字节            34h                                                    56h

2字节            56h                                                    34h

3字节            78h                                                    12h

Little-Endian主要用在我们现在的PC的CPU中,Big-Endian则应用在目前的Mac机器中(注意:是指Power系列 处理器)

posted @ 2010-08-26 10:57 eping 阅读(33) 评论(0) 编辑

【由来】今天解析swf文件DefineFont4时发现了FONTDATA结构,搜篇了swf_file_format_spec_v10也没有这个结构体,一看Comment原来是个OpenType,在http://www.microsoft.com/typography/otspec/里定义,不过貌似直接无法访问,只能ZYM代理。也可以参照adobe官方文档http://www.adobe.com/type/opentype/

posted @ 2010-08-19 18:47 eping 阅读(17) 评论(0) 编辑

Controls whether the system will handle the specified types of serious errors or whether the process will handle them.

系统或者进程是否处理指定类型错误

UINT WINAPI SetErrorMode(
  __in          UINT uMode
);

Parameters
uMode

The process error mode. This parameter can be one or more of the following values.

进程错误模式,参数值可以是以下一个或多个值

Value
Meaning

0

Use the system default, which is to display all error dialog boxes.使用系统用默认有的全球错误对话框显示

 

SEM_FAILCRITICALERRORS
0x0001

The system does not display the critical-error-handler message box. Instead, the system sends the error to the calling process.

系统不显示critical-error-handler 消息对话框,只是把错误信息发到调用进程

 

SEM_NOALIGNMENTFAULTEXCEPT

0x0004

The system automatically fixes memory alignment faults and makes them invisible to the application. It does this for the calling process and any descendant processes. This feature is only supported by certain processor architectures. For more information, see the Remarks section.

After this value is set for a process, subsequent attempts to clear the value are ignored.

系统自动处理内存队列中的错误,对应用程序来说是不可见的。

 

SEM_NOGPFAULTERRORBOX

0x0002

The system does not display the general-protection-fault message box. This flag should only be set by debugging applications that handle general protection (GP) faults themselves with an exception handler.

系统不显示 一般默认的消息对话框。

SEM_NOOPENFILEERRORBOX

0x8000

The system does not display a message box when it fails to find a file. Instead, the error is returned to the calling process.

posted @ 2010-07-03 12:09 eping 阅读(165) 评论(0) 编辑
摘要: 作者:eping email:eping@eping.net TTS(Text-To-Speech,文本语音转换)顾名思义,将文本转找成语音进行输出。目前TTS技术已相对比较成熟,TTS引擎也比较多,比较有名的有Microsoft Speech SDK 和IBM的ViaVoice还有开源的Festival等。至于他们的优劣本人不做评价也未曾做考究,因毕计原因要使用TTS引擎,考虑到开发平台及工具...阅读全文
posted @ 2010-05-23 20:04 eping 阅读(1818) 评论(1) 编辑
摘要: 说明本人系统为windows 7 VS版本为Visual Studio 2010 Ultimate 本人注册成功步骤:1、下载破解文件/Files/eping/VA_X.rar2、 直接将下载的VA_X.dll替换C:\Users\Administrator\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\Whole Tomato Soft...阅读全文
posted @ 2010-05-21 00:30 eping 阅读(202) 评论(0) 编辑
摘要: 注意:扩展前最好先备份数据,本人扩展是没发生什么问题 操作步骤: 1、运行   cmd 2、进入VMware Workstation安装目录 如我的: D:\Program Files\VMware\VMware Workstation 目录下有个工具:vmware-vdiskmanager.exe 使用这个工具就可以扩展VM空间了 要求: 1、你的虚拟机必须处...阅读全文
posted @ 2010-04-23 15:44 eping 阅读(113) 评论(0) 编辑
摘要: 一、直接在 本人: C:\Documents and Settings\Administrator\Application Data\Mozilla\Firefox\Profiles\rbl3tisg.Dev\extensions\eping@eping.net\ 下开发 您的: C:\Documents and Settings\<您的登录用户名>\Application ...阅读全文
posted @ 2010-04-20 18:50 eping 阅读(21) 评论(0) 编辑
摘要: 一、构建开发环境//禁用 XUL 缓存,使得对窗口和对话框的修改不需要重新加载 XUL 文件 //允许使用 dump() 语句向标准控制台输出信息阅读全文
posted @ 2010-04-20 16:11 eping 阅读(95) 评论(0) 编辑