[Haskell-cafe] Determining application directory

Thomas DuBuisson thomas.dubuisson at gmail.com
Wed Jan 27 12:42:45 EST 2010


Other responses have been great but if you are cabalizing you might also be
interested in:

http://neilmitchell.blogspot.com/2008/02/adding-data-files-using-cabal.html

Cheers,
Thomas

On Wed, Jan 27, 2010 at 9:06 AM, Matveev Vladimir <dpx.infinity at gmail.com>wrote:

> Hi,
> I'm writing cross-platform application in Haskell which should be
> running under Windows and Linux. Under Linux configuration is stored
> in the /etc directory, and under Windows configuration is meant to be in
> the application directory. So, is there a way to get an application
> directory path under Windows? I remember that there is a way to do this
> using WinAPI, but how to do this Haskell?
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100127/12f0323a/attachment.html


More information about the Haskell-Cafe mailing list