• ali_reza_nazari

    (@ali_reza_nazari)


    by Ali_Reza_Nazari ? less than a minute ago
    hi
    i want to copy data from buffer to memo i this procedure :

    procedure TForm1.LiveAudioRecorder1Data(Sender: TObject;
    const Buffer: Pointer; BufferSize: Cardinal; var FreeIt: Boolean);
    begin
    end;

    can i do it?
    convert buffer to data like 127,120,140,12,…… in to a memo?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ali_reza_nazari

    (@ali_reza_nazari)

    OK
    I am find code

    procedure This(Buffer: Pointer; var Len: Integer);
    var
    mystr: string;
    begin
    SetLength(mystr, Len);
    Move(Buffer^, mystr[1], Len);
    end;

    know my question is what is reverse action?
    copy some data to buffer?

    and third :
    pointers :
    (P+1)* IN CPP equal ????? IN DELPHI?

    Thread Starter ali_reza_nazari

    (@ali_reza_nazari)

    please help me

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘copy data from buffer to memo’ is closed to new replies.