Hi all,
I tried to write a Win32 program in with GHC 4.05 but I am stumbeling over
the definition
type WNDCLASS =
(ClassStyle, -- style
HINSTANCE, -- hInstance
MbHICON, -- hIcon
MbHCURSOR, -- hCursor
MbHBRUSH, -- hbrBackground
MbLPCSTR, -- lpszMenuName
ClassName) -- lpszClassName
which looks fine if I'd knew where to get hInstance. main doesn't give it
to me. Can specify something like
winMain hInstance ... =
as my main program entry? Or a more sensible question: Is there any
userguide on how to use the Win32 library?
Cheers,
Axel.