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 WAA08736; Fri, 19 Jul 2002 22:25:59 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA08735 for ; Fri, 19 Jul 2002 22:25:58 +0200 (MET DST) Received: from relay.rinet.ru (relay.rinet.ru [195.54.192.35]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g6JKPvj01894 for ; Fri, 19 Jul 2002 22:25:57 +0200 (MET DST) Received: (from uucp@localhost) by relay.rinet.ru (8.11.6/8.11.6) with UUCP id g6JKPux15526; Sat, 20 Jul 2002 00:25:56 +0400 (MSD) X-Envelope-To: caml-list@inria.fr Received: from dialin1.stormoff (ROVER1) [192.168.0.129] by stormoff with esmtp (Exim 3.12 #1 (Debian)) id 17VeBX-0005zK-00; Sat, 20 Jul 2002 00:17:08 +0400 X-Comment-To: "Mattias Waldau" To: "Mattias Waldau" Cc: Subject: Re: [Caml-list] Looking for sample DLL References: <004f01c22eea$f4541010$0700a8c0@gateway> From: Dmitry Bely Date: Sat, 20 Jul 2002 00:17:01 +0400 In-Reply-To: <004f01c22eea$f4541010$0700a8c0@gateway> ("Mattias Waldau"'s message of "Fri, 19 Jul 2002 08:10:17 +0200") Message-ID: User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp (Windows [3]), i586-pc-win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk "Mattias Waldau" writes: > I have a big caml-program that I would like to call from VB/VBA. Then COM is obviously your choice. How else will you interface VB with your Ocaml library? > I prefer DLL to COM, I cannot understand this. DLL and COM are not concepts of the same level. That's like to say "I prefer fruits to oranges" :-) > since I do not need to register. I have already explaned you that in fact you can use COM DLL without registering, at least from C/C++ (don't know about VB since I never used it). > Also, VBA > cannot call normal COM-objects, they need the idispatch-interface. Not a problem. Camlidl lets you to equip Ocaml COM component with IDispatch interface. Dmitry Bely ------------------- 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