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 RAA07308; Fri, 10 Jan 2003 17:07:25 +0100 (MET) 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 RAA07293 for ; Fri, 10 Jan 2003 17:07:24 +0100 (MET) Received: from mail.sgam.fr (mail.sgam.com [194.119.92.19]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h0AG7Nr15135 for ; Fri, 10 Jan 2003 17:07:23 +0100 (MET) Received: from fr-mailcnx1.sgam.com (mailcnx1 [10.15.1.6]) by mail.sgam.fr (8.12.4/8.12.4) with ESMTP id h0AG7Nxp011928 for ; Fri, 10 Jan 2003 17:07:23 +0100 (MET) Received: by FR-MAILCNX1 with Internet Mail Service (5.5.2653.19) id ; Fri, 10 Jan 2003 17:07:13 +0100 Message-ID: <810E00B5A230D340A456B1C13832B5CF0A8AEA@fr-mailbox3> From: EL CHAAR RABIH To: "'caml-list@inria.fr'" Subject: [Caml-list] Trying to build a toplevel as a win32 dll Date: Fri, 10 Jan 2003 17:07:05 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello everybody, I'm trying to build a Ocaml toplevel as a win32 dll. In its simplest form, this means that one obtains a win32 dll that has only one function for receiving as a string any (correct) ocaml syntax normally entered into the toplevel and returns a string containing the result normally pretty-printed by the toplevel (or the error message). Its really just to be able to use Ocamls toplevel technology as a dll callable from other software. Of course, I could use the ocaml toplevel as a console application to which my program would send some text and capture back the result, but I wish to avoid this and call the ocaml engine "natively". Did somebody manage to achieve this or have ideas about how to do it ? Thanks in advance for your help Rabih ------------------- 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