Forums

copy data from buffer to memo (3 posts)

  1. ali_reza_nazari
    Member
    Posted 3 years ago #

    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?

  2. ali_reza_nazari
    Member
    Posted 3 years ago #

    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?

  3. ali_reza_nazari
    Member
    Posted 3 years ago #

    please help me

Topic Closed

This topic has been closed to new replies.

About this Topic