cb里的memcpy在delphi里用什么代替

解决方案 »

  1.   

    Copies bytes from a source to a destination.UnitSystemCategorymiscellaneous routinesprocedure Move(const Source; var Dest; Count: Integer);DescriptionMove copies Count bytes from Source to Dest. No range checking is performed. Move compensates for overlaps between the source and destination blocks. Whenever possible, use SizeOf to determine the count.
      

  2.   

    The CopyMemory function copies a block of memory from one location to another. VOID CopyMemory (    PVOID Destination, // address of copy destination 
        CONST VOID *Source, // address of block to copy 
        DWORD Length  // size, in bytes, of block to copy  
       );
     ParametersDestinationPoints to the starting address of the copied block's destination. SourcePoints to the starting address of the block of memory to copy. LengthSpecifies the size, in bytes, of the block of memory to copy.  Return ValuesThis function has no return value. ResIf the source and destination blocks overlap, the results are undefined. For overlapped blocks, use the MoveMemory function. See Also