[Haskell-cafe] Windows console

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Sep 9 16:11:59 EDT 2008


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 at gmail.com



More information about the Haskell-Cafe mailing list