The problems were:
1) Random and RandomIO conflicted with the standard Haskell libraries of the
same name. I've removed them and added the standard stuff.
2) RandomIO needed the Win32 stuff to initialise the seed.
I've added an appropriate primitive to Hugs to remove this need.
3) Win32SystemInfo used Win-NT specific stuff.
I've removed everything that looked suspicious.
4) The whole Win32 stuff needed msvcrt40.dll which is part of Win NT but
not part of Win 95.
I've put a copy of msvcrt40.dll in the beta directory.
Alastair
> [EMAIL PROTECTED] reports the following problem.
>
> Version: Hugs 1.4 Beta
> OS: Windows 95
> compiler:
> configuration: Standard
> Expected behaviour:
> I wanted to load te RandomIO library, but I couldn't
> because hugs reported an error while was importing
> a DLL called Win32SystemInfo.dll
> Observed behaviour:
> I couldn't use the RandomIO in DOS and WIN95 versions.
> Transcript:
> :l RandomIO
> loading several library ...
>
> ERROR "D:\APPLICS\LENG\WINHUGS\lib\win32\Win32SystemInfo.hs": Error while
> importing DLL "D:\APPLICS\LENG\WINHUGS\lib\win32\Win32SystemInfo.dll"
> Code: