title: Using WritePrivateProfileString to write path issue
body: <p>I am using WritePrivateProfileString in c# (through DllImport) to store paths taken from textboxes on the interface. And the .ini file name is hardcoded in my application </p>
  
  <pre><code>string ini_file = ".\\config.ini";
  </code></pre>
  
  <p>However, when the file writing happens, the configuration file is written to the first path taken from the interface instead of writing it to the exe directory. Which is quite odd.
  Debugging shows that the values are sent correctly to the WritePrivateProfileString but it still is written to the wrong location. Anyone knows why is that happenening?</p>