- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 Windows数据类型探幽——千回百转你是谁?(1)
Windows Data TypesWindows数据类型 由微软Windows操作系统所支持的各种数据类型是用来定义函数的返回值、函数和消息的参数以及结构体成员(因为Win32程序是用C语言来编写,所以没有“类”这个概念)的。这些数据类型定义了上述元素的尺码(在内存中的,也就是占用内存的字节数)和含义。笔者以前一直不太注意这些东西,结果在程序设计时可谓步履维艰。不同类型的常/变量,在程序用扮
2004-03-31 11:20:00 7816 2
原创 Windows数据类型探幽——千回百转你是谁?(2)
续表INTint*int→INT32位有符号整数INT_PTRint(_W64 int即__w64 int)*_W64 int→INT_PTR,_W64就是__w64,是为了解决32位与64位编译器的兼容性而设置的关键字用于指针运算INT32signed int*signed int→INT3232位有符号整数INT64signed __int648signed __int64→INT6464位有
2004-03-31 11:20:00 5857
原创 Windows数据类型探幽——千回百转你是谁?(4)
最后这张表是Visual C++ 7.1编译器支持的数据类型,也就是Windows各种数据类型的“根源”了。数据类型名称字节数别名取值范围int*signed,signed int由操作系统决定,即与操作系统的"字长"有关unsigned int*unsigned由操作系统决定,即与操作系统的"字长"有关__int81char,signed char–128 到 127__int162shor
2004-03-30 19:19:00 3708 2
原创 Windows数据类型探幽——千回百转你是谁?(3)
续表POINTER_32void * void *→POINTER_3232位指针(详解略)POINTER_64void * void *→POINTER_6464位指针(详解略)PSHORTshort * short→SHORT,SHORT *→PSHORTSHORT的指针PSTRchar * char→CHAR,CHAR *→PSTR8位Windows字符(ANSI)无终结字符串指针PTBYT
2004-03-29 10:13:00 4588 1
原创 输入法编辑器(IME)程序设计(4)
Candidate ListsA candidate list is a CANDIDATELIST structure consisting of an array of strings that specifies the characters or character strings that the user may choose from. You can retrieve the ca
2004-03-21 17:35:00 4330 1
原创 输入法编辑器(IME)程序设计(3)
Composition StringThe composition string is the current text in the composition window. This is the text that the IME converts to final characters. Each composition string consists of one or more clau
2004-03-20 14:37:00 3863
原创 输入法编辑器(IME)程序设计(1)
头一次发译的东西,肯定会有不少错误,请大家多多斧正。本人志在编写中国最出色的输入法,解放中国人的双手。今从零起步,朝成夕可死也。 Input Method EditorAn input method editor (IME) is a program that allows computer users to enter complex characters and symbols, such a
2004-03-20 14:32:00 6734 3
原创 输入法编辑器(IME)程序设计(2)
有译的不妥的地方请大家指正,我随时更改:)IME Window ClassThe "IME" window class is a predefined system global class that defines the appearance and behavior of the standard IME windows. The class is similar to common con
2004-03-19 15:54:00 4845 2
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人