title: How to use GNU gettext with MS Visual C++?
body: <p>Is it possible to use <a href="http://www.gnu.org/software/gettext/" rel="noreferrer">GNU gettext</a> with MS Visual C++? Does someone know where to find a sample project that compiles under Visual C++?</p>
  
  <p><strong>Update:</strong>
  Thanks to Sorin Sbarnea for his comments which help me to put all the pieces together:</p>
  
  <p><em>I'm used to the <a href="http://dxgettext.po.dk" rel="noreferrer">Delphi version of gettext</a> where you simply compile the unit gnugettext.pas with your project, that is why I was simply trying to compile gettext.h with my MSVC project. It might work for other C++ compilers but not with MSVC.</em></p>
  
  <p>The <a href="http://www.gnu.org/software/gettext/FAQ.html#windows_howto" rel="noreferrer">FAQ of GNU gettext</a> explains how to do it with MSVC by using precompiled DLLs. But there are no links to the DLLs and these DLLs aren't in the main download. They must be downloaded separatly from the <a href="http://www.gnu.org/software/gettext/FAQ.html#windows_howto" rel="noreferrer">ftp site</a>. You will need 2 files for the dlls:</p>
  
  <ul>
  <li><a href="ftp://ftp.gnu.org/gnu/gettext/gettext-runtime-0.13.1.bin.woe32.zip" rel="noreferrer">gettext-runtime for win32</a></li>
  <li><a href="ftp://ftp.gnu.org/gnu/libiconv/libiconv-1.9.1.bin.woe32.zip" rel="noreferrer">libiconv for win32</a></li>
  </ul>
  
  <p>And if you need tools to extract the strings from the exe, you also need:</p>
  
  <ul>
  <li><a href="ftp://ftp.gnu.org/gnu/gettext/gettext-tools-0.13.1.bin.woe32.zip" rel="noreferrer">gettext-tools for win32</a></li>
  </ul>
  
  <p>I haven't tried it yet with MSVC, but now I think it will works.</p>