title: When calling GetComputerNameA, the program crash without errors
body: <p>I am trying to call <code>GetComputerNameA</code> from AutoIt, this is my code:</p>
  <pre><code>Local $mystruct = DllStructCreate(toStr(&quot;struct;dword;char[1024];endstruct&quot;))
  DllStructSetData($mystruct, 1, 1024)
  Local $result = DllCall(&quot;kernel32.dll&quot;, &quot;int&quot;, &quot;GetComputerNameA&quot;, &quot;ptr&quot;, DllStructGetPtr($mystruct, 2), &quot;ptr&quot;, DllStructGetPtr($mystruct, 1))
  MsgBox(0, &quot;AutoIt&quot;, &quot;Success&quot;)  
  </code></pre>
  <p>But after I run it, it doesn't print anything, like the script crashed without errors.<br />
  Any idea why it failed to call it?</p>