
13 Sep
2008
13 Sep
'08
7:03 a.m.
Andrew Coppin
Jeff Zaroyko wrote:
Andrew Coppin
writes: Jeff Zaroyko wrote:
In theory, you should be able to use mingw's windres tool to produce an object file from the resource definition which you'd link with the rest of your program.
I literally cannot *believe* how hard it is to put a few little words into that version tab... Every other kind of resource seems to be completely trivial, but this just won't work for toffee!
I'm sure you'll work something out, my test worked, I used a .res file I had lying around from Wine's ddraw.dll, used windres ddraw.res -o version.o to make an object file then using ghc hello.hs version.o linked it against hello world.