This library is in very early stage pre alpha version.
- Windows (>= 7) 32bit
- require MLton (>= 20130715) (developped on cygwin version)
- require SML/NJ (>= 110.77) (use native windows version. cygwin is not supported.)
Just type make
in your DOS prompt.
Add reference to win32.mlb file. When you test win32 library,
$ cd win32 && mlton win32.mlb
$ cd sample/
$ ml-build msgbox.cm Msgbox.main msgbox
$ sml.bat @SMLload=msgbox.x86-win32
$ ml-build winmain.cm WinMain.main winmain
$ sml.bat @SMLload=winmain.x86-win32
$ cd sample/
$ mlton msgbox.mlb
$ ./msgbox
$ mlton winmain.mlb
$ ./winmain
some part of code is port from Poly/ML Windows programming interface .