码迷,mamicode.com
首页 > 其他好文 > 详细

D7升级时候发现许多System函数只有Byte版本的,需要注意

时间:2016-03-04 01:56:22      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:

SetLength 对于字符串,是WideChar的长度
GetMem 只针对Byte
Move 只针对Byte
FillChar 只针对Byte
WriteFile(API) 只针对Byte

另外学习了:
StrPCopy 拷贝String到PChar
StringOfChar 使用重复的Char组合出String

D7升级时候发现许多System函数只有Byte版本的,需要注意

标签:

原文地址:http://www.cnblogs.com/findumars/p/5240652.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!