<font class="Apple-style-span" face="verdana, sans-serif">I just realized I sent my earlier replies to Matthew instead of the mailing list.</font><div><font class="Apple-style-span" face="verdana, sans-serif">Sorry for that :/</font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif">I did get MLton to compile a dll, so I will have to work on the intgration with</font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif">Java next:</font></div><div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<font class="Apple-style-span" face="verdana, sans-serif"><span class="Apple-style-span" style="color: rgb(32, 32, 32); font-family: 'Droid Sans', arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><font face="verdana,sans-serif">I got it working with the following makefile:<br>
</font><div><font face="verdana, sans-serif"><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
mlton <span style="white-space: pre-wrap; ">        </span>-default-ann "allowFFI true" \<br><span style="white-space: pre-wrap; ">                </span>-export-header test.h \<br><span style="white-space: pre-wrap; ">                </span>-stop tc \<br>
<span style="white-space: pre-wrap; ">                </span>test.sml<br><span style="white-space: pre-wrap; ">                        <br></span>gcc -c -Wall main.c <br><span style="white-space: pre-wrap; ">        <br>
</span><span style="font-family: verdana, sans-serif; ">mlton <span style="white-space: pre-wrap; ">        </span></span><span style="font-family: verdana, sans-serif; ">-default-ann "allowFFI true" \<br></span><span style="white-space: pre-wrap; ">                </span>-format library \<br>
<span style="white-space: pre-wrap; ">                </span>-libname fac \<br><span style="white-space: pre-wrap; ">                </span>test.sml main.o</blockquote></font><span style="font-family: verdana, sans-serif; ">The Link <a href="http://mlton.org/LibrarySupport" target="_blank" style="color: rgb(103, 117, 58); ">http://mlton.org/LibrarySupport</a> was very helpful, I'm not sure why I didn't find it myself :/</span><font face="verdana, sans-serif"><div>
<br></div><div>@Christof: It would indeed be helpful to hear how you managed to transfer data between Java and SML.</div><div>Did you use a C interface like I was considering?</div><div>@All: Thanks a lot for the quick help!</div>
</font></div></span></font></blockquote><div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div>