haskell-cafe@haskell.org
[Top] [All Lists]

Re: [Haskell-cafe] Windows console

Subject: Re: [Haskell-cafe] Windows console
From: Bulat Ziganshin
Date: Wed, 10 Sep 2008 00:11:59 +0400
Hello Andrew,

Tuesday, September 9, 2008, 11:15:08 PM, you wrote:

> Haskell. I was not, however, able to find any way at all to import the
> symbolic constants necessary, so I was forced to reading through the 
> source code of the raw C header files to find out what the numeric 
> values of these are (!!!)

look into Win32 package sources, small example is:

#{enum LoadLibraryFlags,
 , lOAD_LIBRARY_AS_DATAFILE      = LOAD_LIBRARY_AS_DATAFILE
 , lOAD_WITH_ALTERED_SEARCH_PATH = LOAD_WITH_ALTERED_SEARCH_PATH
 }

(in File.hsc)

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin@xxxxxxxxx

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>