[Haskell-cafe] Resource compilation in GHC

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Nov 12 06:19:37 EST 2009

Hello Konstantin,

Thursday, November 12, 2009, 1:12:35 PM, you wrote:

> I'm writing an wxHaskell application. Everything is ok, but now I need
> a separate folder for icons, bitmaps, and so on, from where they are
> loaded at runtime. How can I compile resources, and link them into my
> executable to provide for users single .exe file with resource section
> inside it?

using win api, of course. look into SVN http://freearc.org:8080/freearc/trunk/
for example of how to add reources to executable (Unarc/makefile and
compile.cmd). note that my program doesn't load anything from

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list