HGL ang GHC on Win32

Hal Daume III hdaume@ISI.EDU
Fri, 8 Mar 2002 12:26:20 -0800 (PST)

When I compile a program using GHC 5.02.2 on Windows 200 using HGL, using
the following command line:

> ghc --make HelloWorld.hs -o HelloWorld.exe -package concurrent -package
win32 -ic:\GraphicsLibrary\lib\win32

it compiles fine, but then when I run the exe, the window starts out
initially as wide as my screen and only as tall as the title bar,
regardless of what is passed as the dimensions to openWindow.  What
gives?  If I resize the window everything works fine, but in my own
application resizing the window causes it to report some error about
arithmetic being bigger than 32 bits...

Any ideas?

 - Hal

Hal Daume III

 "Computer science is no more about computers    | hdaume@isi.edu
  than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume