From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA07970; Thu, 16 May 2002 14:35:39 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA07931 for ; Thu, 16 May 2002 14:35:38 +0200 (MET DST) Received: from relay.rinet.ru (relay.rinet.ru [195.54.192.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g4GCZb127004 for ; Thu, 16 May 2002 14:35:37 +0200 (MET DST) Received: (from uucp@localhost) by relay.rinet.ru (8.11.6/8.11.6) with UUCP id g4GCZVm17284 for caml-list@inria.fr; Thu, 16 May 2002 16:35:31 +0400 (MSD) X-Envelope-To: caml-list@inria.fr Received: from bely.stormoff (BELY) [192.168.0.10] by stormoff with esmtp (Exim 3.12 #1 (Debian)) id 178KLO-0000hx-00; Thu, 16 May 2002 16:26:54 +0400 X-Comment-To: Samuel Lacas To: caml-list@inria.fr Subject: Re: [Caml-list] COM binding & CAMLIDL ? References: <20020516112943.A8960@ouessant.trusted-logic.fr> From: Dmitry Bely Date: Thu, 16 May 2002 16:26:56 +0400 In-Reply-To: <20020516112943.A8960@ouessant.trusted-logic.fr> (Samuel Lacas's message of "Thu, 16 May 2002 11:29:43 +0200") Message-ID: <1ycce0rz.fsf@mail.ru> User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Economic Science (Windows [1]), i586-pc-win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Samuel Lacas writes: > Reading a recent thread on the list, I noticed that ocaml could be > used with COM components on windows. As I currently intensively use > the Python COM bindings with MS' text processor whose name I won't > say, I wonder if I could use ocaml to the same end. Probably yes, if you are going to use/create COM components with vtbl-style interfaces. Support for IDispatch interfaces is very limited (see camlidl manual). > However, the release notes in the ocaml-win distribution states that > the cygwin version lacks COM support, In fact Cygwin gcc has all necessary COM libraries and camlidl can be easily patched to support COM interfaces for Cygwin-build OCaml (I have done that if you are interested). > and the native win32 version > partially implements the libraries, among which I find no COM nor IDL > link. Does anyone on the list have more information ? [ocaml\README.win32] The native Win32 port has threads and COM support [camlidl\readme] In addition, Camlidl provides basic support for COM interfaces and components under MS Windows. It supports both using COM components (usually written in C++ or C) from Caml programs, and packaging Caml objects as COM components that can then be used from C++ or C. [end of quote] So yes, MSVC-compiled OCaml supports Camlidl and COM out-of-the-box. Hope to hear from you soon, Dmitry ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners