Other responses have been great but if you are cabalizing you might also be interested in:<br><br><a href="http://neilmitchell.blogspot.com/2008/02/adding-data-files-using-cabal.html">http://neilmitchell.blogspot.com/2008/02/adding-data-files-using-cabal.html</a><br>
<br>Cheers,<br>Thomas<br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 9:06 AM, Matveev Vladimir <span dir="ltr">&lt;<a href="mailto:dpx.infinity@gmail.com">dpx.infinity@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
I&#39;m writing cross-platform application in Haskell which should be<br>
running under Windows and Linux. Under Linux configuration is stored<br>
in the /etc directory, and under Windows configuration is meant to be in<br>
the application directory. So, is there a way to get an application<br>
directory path under Windows? I remember that there is a way to do this<br>
using WinAPI, but how to do this Haskell?<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br>