Subject: 1.0.8.772 代码格式化报错 [Print This Page]
Author:
西瓜163 Time: 2015-9-21 16:06 Subject: 1.0.8.772 代码格式化报错
1.0.8.772 代码格式化报错 XE2下
procedure TfrmIn.CnRS2321ReceiveData(Sender: TObject; Buffer: Pointer;
BufferLength: Word);
var
S: AnsiString;
begin
SetLength(S, BufferLength);
Move(Buffer^, PAnsiChar(S)^, BufferLength);
LoadometerStr := S;
end;
Move(Buffer^, PAnsiChar(S)^, BufferLength); 这个提示报错。
Author:
Passion Time: 2015-9-21 18:44
谢谢报告,我查一下。
Author:
Passion Time: 2015-9-22 12:25
经过查证,是处理带^的旧式字符串时带来的副作用,目前最新的每日构建版775已修正了此问题。
http://www.cnpack.org/downbuilds.php
烦请验证?
Author:
西瓜163 Time: 2015-9-22 16:43
原帖由 <i>Passion</i> 于 2015-9-22 12:25 发表<br />
经过查证,是处理带^的旧式字符串时带来的副作用,目前最新的每日构建版775已修正了此问题。<br />
<br />
<a href="http://www.cnpack.org/downbuilds.php" target="_blank">http://www.cnpack.org/downbuilds.php</a><br />
<br />
烦请验证?
<br />
每日构建版775经测试 Move(Buffer^, PAnsiChar(S)^, BufferLength);
格式化成功。
Author:
Passion Time: 2015-9-23 16:46
Welcome to CnPack Forum (http://bbs.cnpack.org/) |
Powered by Discuz! 5.0.0 |