caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Dmitry Bely <dbely@mail.ru>
To: "Mattias Waldau" <mattias.waldau@abc.se>
Cc: <caml-list@inria.fr>
Subject: Re: [Caml-list] Looking for sample DLL
Date: Sat, 20 Jul 2002 00:17:01 +0400	[thread overview]
Message-ID: <it3bpj5u.fsf@mail.ru> (raw)
In-Reply-To: <004f01c22eea$f4541010$0700a8c0@gateway> ("Mattias Waldau"'s message of "Fri, 19 Jul 2002 08:10:17 +0200")

"Mattias Waldau" <mattias.waldau@abc.se> 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


  reply	other threads:[~2002-07-19 20:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-18  8:47 [Caml-list] ocamldot on steroids Brian Naylor
2002-07-18  8:54 ` Maxence Guesdon
2002-07-18 14:45   ` [Caml-list] Looking for sample DLL Mattias Waldau
2002-07-19  3:53     ` Dmitry Bely
2002-07-19  6:10       ` Mattias Waldau
2002-07-19 20:17         ` Dmitry Bely [this message]
2002-07-19 21:16           ` Mattias Waldau
2002-07-21  8:12             ` Dmitry Bely
2002-07-18 17:02   ` [Caml-list] ocamldot on steroids Brian Naylor
2002-07-18 18:45     ` Emmanuel Renieris
2002-07-19  8:39     ` Maxence Guesdon

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=it3bpj5u.fsf@mail.ru \
    --to=dbely@mail.ru \
    --cc=caml-list@inria.fr \
    --cc=mattias.waldau@abc.se \
    /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).