gpt4 book ai didi

delphi - Delphi 中的 Move 与 CopyMemory

转载 作者:行者123 更新时间:2023-12-03 14:39:32 24 4
gpt4 key购买 nike

Delphi(特别是 2007 及更高版本)中的 Move 和 CopyMemory 之间有区别吗?

如果是这样,有什么区别?

最佳答案

看看 Delphi 中的 windows.pas:

procedure CopyMemory(Destination: Pointer; Source: Pointer; Length: DWORD);
begin
Move(Source^, Destination^, Length);
end;

这能回答你的问题吗? :>

关于delphi - Delphi 中的 Move 与 CopyMemory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2027845/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com