On Thu, Sep 29, 2011 at 7:45 AM, Ivan Tomac <ivan.tomac at gmail.com> wrote: > mlnlffigen -linkage archive -mlbfile ffi.mlb -dir ffi ctest.h > mlton -link-opt "-ldl.dll" test.mlb ctest.c Works for me on Windows 7 x64 using released version of MLton.