carlos 发表于 2011-11-9 10:52:41

不懂 收藏起来先 谢谢

xiehuahere 发表于 2011-11-9 22:49:18

感谢分享,收下了。
{:face (239):}

xiehuahere 发表于 2011-11-23 10:40:57

本帖最后由 xiehuahere 于 2011-11-23 10:44 编辑

对照英文原文通读了一遍,感觉楼主翻译得非常好!!再次表示感谢!
同时,对最后一个章节DllStructs提两点意见:

1)“因为使用“包”之后,可以返回指针(内存地址)到一个(dll)包含很多变量(或者元素,因为从现在开始我将把他们看作是表格一样的东西)的结构中去。”
括号里的部分原文为: (or members as I will refer them as from now on)
可能楼主将 from 看成了 form,所以翻译时产生了一个细微的错误。而且对结构体来讲,members翻译为“成员”而不是“元素”可能更专业些。
建议改为:(或成员,我在此后的描述中都将使用这种称呼)

2)“通过谷歌搜索“WORD typedef”发现,原来WORD在Autoit中实际上是一个无符号的又名“ushort”的16位整数”
Autoit中其实也是有 word 这个类型的。参见帮助手册。

最后,附一个链接(函数调用规范cdecl和stdcall的区别):
http://wenku.baidu.com/view/ff1052d4b9f3f90f76c61b14.html?from=rec&pos=3&weight=2&lastweight=1&count=5

DenQ 发表于 2011-11-26 23:20:06

Local $Struct = DllStructCreate('Short;Short;Short;Short;Short;Short;Short;Short')
Local $StructPtr = DllStructGetPtr($Struct)
DllStructSetData($Struct, 5, 11)
DllStructSetData($Struct, 6, 11)
DllStructSetData($Struct, 7, 11)
DllStructSetData($Struct, 8, 0)
DllStructSetData($Struct, 4, 11)
DllStructSetData($Struct, 2, 11)
DllStructSetData($Struct, 1, 2011)
DllCall('Kernel32', 'Int', 'SetLocalTime', 'Ptr', $StructPtr)

miosec 发表于 2011-11-28 14:53:22

刚说要翻译来着,看到你这个帖子。算了吧。。。。

cheng8457 发表于 2011-12-1 08:01:39

我新手 看的不是很懂....

lleheaven 发表于 2011-12-7 16:24:53

受益匪浅,谢谢!!

lczact 发表于 2011-12-8 20:26:45

学习了,谢谢

那片叶子 发表于 2011-12-9 08:55:46

学习一下,论坛越发的好

MicroBlue 发表于 2011-12-16 19:07:32

大哥, 能看出来 你写的 很用心啊。 我看的到....... 非常 感谢!!!!

turboking 发表于 2012-1-8 15:12:22

翻译的很好。。。感谢楼主共享精神

mid_w 发表于 2012-1-9 22:51:10

什么是DLLCALL??

mid_w 发表于 2012-1-13 21:13:45

DLLCALL的使用相当重要

zyfzyj 发表于 2012-2-10 15:56:43

看不懂。做个记号,以后来学!!

jy010 发表于 2012-3-19 21:16:45

初学,还看不懂...
页: 1 2 3 [4] 5 6
查看完整版本: 你DllCall了吗?