Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
OCam'OLE using MinGW Toolchain
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-08-21 (18:36)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] OCam'OLE using MinGW Toolchain
On Mon, Aug 20, 2007 at 10:13:38PM +0100, David Allsopp wrote:
> Just been having a rummage around on the Hump and came across OCaml'OLE - a
> glance at the sample code suggests that it wraps COM interfaces quite
> elegantly (not as transparently as VB6 did, but somewhere close). The snag
> that I've hit is that I use the MinGW version of O'Caml built from source
> and don't really want to install the MSVC port alongside... has anyone
> managed to build OCaml'OLE using gcc+MinGW and if so do they have a
> Makefile? :o)

I'm afraid not, but I have done OCaml'OLE with MSVC and that was
pretty easy.

Well, except for a number of bugs in the M$ toolchain, like one where
the linker just didn't bother to link parts of the generated code (I
had to edit down the OLE-generated code by hand to get around that
one...).  So you'll be better off with the MinGW chain probably :-)


Richard Jones
Red Hat