On Thu, 2009-11-12 at 11:52 +0100, David Virebayre wrote:
> On Thu, Nov 12, 2009 at 11:12 AM, Konstantin Vladimirov
> <[email protected]> wrote:
> > Hello.
> 
> > 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?
> 
> +1 !
> 
> I would also like to know how one can do it with gtk2hs.

I just keep them as separate data files and use Cabal to install them
and to find them at runtime.

http://haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#paths-module

Duncan

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to