English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] ocamldot on steroids
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-07-19 (20:25)
From: Dmitry Bely <dbely@m...>
Subject: Re: [Caml-list] Looking for sample DLL
"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

> 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

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