... можно узнать описание функции CopyMemory ...
The CopyMemory function copies a block of memory from one location to another.
Declaration
Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (pDst As Any, pSrc As Any, ByVal ByteLen As Long)
Parameters
· Destination
Points to the starting address of the copied block’s destination.
· Source
Points to the starting address of the block of memory to copy.
· Length
Specifies the size, in bytes, of the block of memory to copy.
Dim src As POINTAPI, dest As POINTAPI
Call CopyMemory(dest, src, LenB(dest))
Dim arrSrc(1 To 10, 1 To 10) As Integer
Dim arrDest(1 To 10, 1 To 10) As Integer
Call CopyMemory(arrDest(1, 1), arrSrc(1, 1), 100)
Matew писал(а):Тут много писалось про CopyMemory Cut/GetMem4 или вроде того, а можно узнать описание функции CopyMemory и можно ли с помощью нее копировать Pointapi и многомерные (2-х, 3-х) массивы?
For i = 1 To aa
pt(i).x = arrS(1, i, 5)
pt(i).y = arrS(2, i, 5)
Next i
CopyMemory pt(1), arrS(1, 1, 5) , aa * LenB(pt(1))Matew писал(а):Мне в принципе все равно-переделаю)))
Напишите, как...
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 1