[Haskell-cafe] Determining application directory

Holger Siegel holgersiegel74 at yahoo.de
Wed Jan 27 14:24:44 EST 2010


Am Mittwoch, den 27.01.2010, 21:19 +0300 schrieb Vladimir Matveev:
> Oh yeah, it seems I found it. Solution is to use getModuleFileName and
> getModuleHandle functions from System.Win32.DLL. Thanks for attention :)

You can also use the (portable) package 'directory' from Hackage
(http://hackage.haskell.org/package/directory).




More information about the Haskell-Cafe mailing list