Now I would advise against this patch, better extract needed code from ocaml sources and compile locally, it is much easier to update and maintain.
Created for mldonkey by spiralvoice http://savannah.nongnu.org/patch/?4515 (looks like they are not using it anymore..)
Problems with this patch (from the windows user point of view) :
caml_sys_getcwd() which causes buffer overflow at startup (when compiled with msvc at least).
_wgetcwd() accepts the number of characters, not bytes, as the length of the supplied bufferModified patch fixes bug in caml_sys_getcwd(), unicode'fies more functions (I needed
caml_sys_is_directory() in particular), uses WideCharToMultiByte api for utf8 conversions and
compiles cleanly with msvc.
It worked pretty well for me (to create windows COM inproc server dll module with Ocaml 3.10 and MSVC 8.0 (2005)).
2009-05-01