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 TAA24597; Wed, 6 Nov 2002 19:53:04 +0100 (MET) 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 TAA23869 for ; Wed, 6 Nov 2002 19:53:03 +0100 (MET) Received: from relay-4m.club-internet.fr (relay-4m.club-internet.fr [194.158.104.43]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id gA6Ir2D23862 for ; Wed, 6 Nov 2002 19:53:02 +0100 (MET) Received: from warp (lns15m-6-161.w.club-internet.fr [212.195.105.161]) by relay-4m.club-internet.fr (Postfix) with SMTP id 15CBCE143; Wed, 6 Nov 2002 19:53:06 +0100 (CET) Message-ID: <005c01c285c5$ff0ae1f0$6e00a8c0@warp> From: "Nicolas Cannasse" To: Cc: References: <20021104212354.44502.qmail@web20504.mail.yahoo.com> <005901c284ef$c7cebc60$6e00a8c0@warp> <3DC80A15.84B8C129@easystreet.com> Subject: Re: [Caml-list] OCaml on Windows please advise Date: Wed, 6 Nov 2002 19:54:54 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > I'd like to do GUI and other interfaces with one of the Windows RAD > tools (e.g. Delphi) that is well-developed for such things and do > back-end algorithms in OCaml. For this to work the Windows way, > the OCaml should probably be packaged as a COM server or DLL. Is > anyone doing this with good success? Any details on how would be > welcome. You should perhaps consider packaging your Delphi GUI into a DLL with exported function and then have the OCaml Runtime be your startup. It seems easier because of the following : - if you want an ocaml interpreter, you have to link your Delphi with the ocamlrun.lib file, which is a MSVC one so not compatible with Borland compiler and linker : you need to rebuild it with Borland tools and nobody seems to have already done it - there was some issues in 3.05 when you wanted to have a C "custom" application running ocaml bytecode which was using a C DLL ( because the DLL was calling OCaml C API function from ocamlrun.exe, which wasn't your main interpreter ). I haven't check if this is resolved by the usage of ocamlrun.dll in 3.06 Nicolas Cannasse ------------------- 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