Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 1.0.8.772 代码格式化报错
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 1.0.8.772 代码格式化报错
西瓜163
新警察
UID 67120
Digest Posts 0
Credits 27
Posts 4
点点分 27
Reading Access 10
Registered 2011-7-28
Status Offline
#1
Post at 2015-9-21 16:06
Profile
|
Blog
|
P.M.
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); 这个提示报错。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2015-9-21 18:44
Profile
|
Blog
|
P.M.
谢谢报告,我查一下。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#3
Post at 2015-9-22 12:25
Profile
|
Blog
|
P.M.
经过查证,是处理带^的旧式字符串时带来的副作用,目前最新的每日构建版775已修正了此问题。
http://www.cnpack.org/downbuilds.php
烦请验证?
西瓜163
新警察
UID 67120
Digest Posts 0
Credits 27
Posts 4
点点分 27
Reading Access 10
Registered 2011-7-28
Status Offline
#4
Post at 2015-9-22 16:43
Profile
|
Blog
|
P.M.
QUOTE:
原帖由 <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);
格式化成功。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#5
Post at 2015-9-23 16:46
Profile
|
Blog
|
P.M.
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-22 13:07
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.009284 second(s), 7 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats