From: achrist@easystreet.com
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] OCaml on Windows please advise
Date: Thu, 07 Nov 2002 16:20:05 -0800 [thread overview]
Message-ID: <3DCB0335.CE7D7B82@easystreet.com> (raw)
In-Reply-To: <20021107093019.A8856@pauillac.inria.fr>
Xavier Leroy wrote:
>
> > > You should perhaps consider packaging your Delphi GUI into a DLL with
> > > exported function and then have the OCaml Runtime be your startup.
> >
> > This is the problem with many of the non-mainstream languages. [...]
>
> Don't worry, it's actually possible to package Caml code + the Caml
> runtime system in a DLL, thus having the Delphi GUI as "main" program.
>
> CamlIDL (see below) contains a tool that builds such a DLL in the case
> of a COM component.
>
> > Last I saw, COM was one of the best things that MS had conceived.
> > That's extremely faint praise, but COM does look to be a good way to
> > partition a system into cohesive parts. With Windows as it currently
> > exists, being able to do COM as both a client and a server would be
> > a very nice feature for just about any language that targets Windows.
>
> Agreed. Please have a look at http://caml.inria.fr/camlidl/
>
Thanks. I'll have to give this a try. I took a look at it a while
back and saw that there was C code to translate between OCaml types
and C types. I didn't go very much farther, because I didn't want
to mess with a 3-language solution, Delphi <-> C <-> OCaml, which
could be way too much work for me. Reading a little more of the
docs today, I see that the C code gets automatically generated and
that there is a tool to link it into the server automatically as well,
so my previous negative impression was likely ill-conceived.
Can't wait to get time to give this a try. While I'm waiting, back
to the original theme of this thread. Can anyone offer tales of
(impressive) success or gotchas doing such things under Windows
with OCaml?
Al
-------------------
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
next prev parent reply other threads:[~2002-11-08 0:18 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
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 [this message]
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=3DCB0335.CE7D7B82@easystreet.com \
--to=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