Ho qualche difficoltà a tradurre questo passaggio:
Ok il parametro Buffer è un puntatore al buffer che contiene una matrice bidimensionale di un'immagine.codice:Function OnNewFrame(ByRef Buffer As Byte, ByVal FrameCounter As Long) As Long Dim x As Integer, y As Integer, n As Integer Dim c1 As Long, c2 As Long, d As Long, e As Long Dim R As Byte, G As Byte, B As Byte On Error GoTo OnNewFrameM1 Call CopyMem(Arr(0, 0), Buffer, Size * 2) 'Resto del codice End Function
Come traduco quel:
in VB.net?codice:CopyMem(Arr(0, 0), Buffer, Size * 2)
Grazie mille

Rispondi quotando