title: Access violation at address * in module 'ntdll.dll'. Write of address *
body: <p>I'm writing a function that should find a file.</p>
  
  <pre><code>WIN32_FIND_DATAA* data;
  
  HANDLE handle = FindFirstFile(name,data);//Access violation at address 76FC2373 in module 'ntdll.dll'. Write of address 00000008.
  while(handle!= INVALID_HANDLE_VALUE)
  {
      FindNextFile(handle,data);
      result.push_back(data-&gt;cFileName);
      if(GetLastError())
          break;
  }
  FindClose(handle);
  free(data);
  </code></pre>
  
  <p>I'm doing something wrong?</p>