caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Nicolas Cannasse" <warplayer@free.fr>
To: <achrist@easystreet.com>
Cc: <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml on Windows please advise
Date: Wed, 6 Nov 2002 19:54:54 -0000	[thread overview]
Message-ID: <005c01c285c5$ff0ae1f0$6e00a8c0@warp> (raw)
In-Reply-To: <3DC80A15.84B8C129@easystreet.com>

> 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


  parent reply	other threads:[~2002-11-06 18:53 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-04 21:23 isaac gouy
2002-11-04 23:46 ` SooHyoung Oh
2002-11-05 18:21 ` Nicolas Cannasse
2002-11-05 18:12   ` achrist
2002-11-06  5:53     ` Eric Mangold
2002-11-06 19:54     ` Nicolas Cannasse [this message]
2002-11-06 19:58       ` achrist
2002-11-06 20:31         ` jeanmarc.eber
2002-11-07  8:30         ` Xavier Leroy
2002-11-08  0:20           ` achrist
2002-11-08 18:41             ` Nicolas Cannasse
2002-11-08 18:14               ` Sven Luther
2002-11-08 20:20                 ` jeanmarc.eber
2002-11-08 20:47                   ` Sven Luther
2002-11-08 22:43                     ` malc
2002-11-08 23:02                       ` Sven Luther
2002-11-08 23:47                         ` malc
2002-11-09  1:00                           ` Eric Mangold
2002-11-09  1:21                             ` malc
2002-11-09  7:13                               ` Sven Luther
2002-11-09  9:17                                 ` Olivier Andrieu
2002-11-09 10:08                                   ` Sven Luther
2002-11-12 13:28                                     ` Olivier Andrieu
2002-11-09 17:20                     ` Warp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005c01c285c5$ff0ae1f0$6e00a8c0@warp' \
    --to=warplayer@free.fr \
    --cc=achrist@easystreet.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).