Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: -- (:)
From: Dmitry Bely <dbely@m...>
Subject: Re: [Caml-list] Looking for sample DLL
"Mattias Waldau" <> 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 Archives:
Bug reports: FAQ:
Beginner's list: