caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] accessing COM server, example code ?
@ 2002-07-30 11:24 udo_goebel
  2002-07-30 12:14 ` Dmitry Bely
  0 siblings, 1 reply; 2+ messages in thread
From: udo_goebel @ 2002-07-30 11:24 UTC (permalink / raw)
  To: caml-list

Hi,

I have to access a COM component on win2k. After reading the camlidl doc
this seems to be all right with ocaml. Are there serious restrictions of doing
this within ocaml compared to e.g. C, C++? Is there some example code around
of how to do it in practice in ocaml?

Regards
Udo

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

-------------------
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] accessing COM server, example code ?
  2002-07-30 11:24 [Caml-list] accessing COM server, example code ? udo_goebel
@ 2002-07-30 12:14 ` Dmitry Bely
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Bely @ 2002-07-30 12:14 UTC (permalink / raw)
  To: caml-list

udo_goebel@gmx.net writes:

> I have to access a COM component on win2k. After reading the camlidl doc
> this seems to be all right with ocaml. Are there serious restrictions of doing
> this within ocaml compared to e.g. C, C++?

Currenly only custom (C++ vtable style) interfaces are supported for COM
clients written using Ocaml/camlidl. Dispatch interfaces are not supported
yet. Among many other things, this means that you will need .idl definition
files for your COM server, type libraries are not enough. You can generate
.idl from type libraries using Microsoft's OleView tool, but for compex
cases that's not an easy task.

> Is there some example code around
> of how to do it in practice in ocaml?

Look at examples in camlidl distribution.

- 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-30 12:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-30 11:24 [Caml-list] accessing COM server, example code ? udo_goebel
2002-07-30 12:14 ` Dmitry Bely

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).