title: What's Delphi byte ASM representation of a empty string?
body: <p>Considering the following byte arrays:</p>
  <pre><code>const
    //Values : Array[0..4] of byte = ($C2,$00,$00,$90,$90);
    Values: Array[0..0] of Byte = (???); // '' ?
  </code></pre>
  <p>How can initialize the second byte array (similar to first byte array) with a <code>asm</code> representation, but this time, of a empty string?</p>
  <hr />
  <p><strong>Edition:</strong></p>
  <blockquote>
  <p>As it is unclear for what purpose you ask and what you are going to do with that array. – Tom Brunberg</p>
  </blockquote>
  <p>The goal is write a empty string to a address of target process:</p>
  <pre><code>procedure WriteBytes(hProcess: THandle; Address: pointer; const Buffer: array of byte);
  var
    Read: THandle;
    oldprot, tmp: dword;
  begin
    if (VirtualProtectEx(hProcess, Address, Length(Buffer), PAGE_EXECUTE_READWRITE, @oldprot)) then
      Writeln('1 - VirtualProtectEx() successfully!');
    
    if (WriteProcessMemory(hProcess, Address, @Buffer, Length(Buffer), Read)) then
      Writeln('2 - WriteProcessMemory() successfully!');
  
    if (VirtualProtectEx(hProcess, Address, Length(Buffer), oldprot, @tmp)) then
      Writeln('3 - VirtualProtectEx() successfully!');
  end;
  </code></pre>
  <p>In C++ the following example works fine:</p>
  <pre><code>PVOID hmod = debug_event.u.LoadDll.lpBaseOfDll; 
  ULONG op; 
  SIZE_T NumberOfBytesWritten; 
  
  if (VirtualProtectEx(pi.hProcess, hmod, 1, PAGE_READWRITE, &amp;op)) 
  { 
   WriteProcessMemory(pi.hProcess, hmod, &quot;&quot;, 1, &amp;NumberOfBytesWritten); 
  }
  </code></pre>
  <p>How this could be in Delphi?</p>