caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Mattias Waldau" <mattias.waldau@abc.se>
To: "'Dmitry Bely'" <dbely@mail.ru>
Cc: <caml-list@inria.fr>
Subject: RE: [Caml-list] Looking for sample DLL
Date: Fri, 19 Jul 2002 23:16:43 +0200	[thread overview]
Message-ID: <006401c22f69$95484c10$0700a8c0@gateway> (raw)
In-Reply-To: <it3bpj5u.fsf@mail.ru>

The reason I was looking for a sample is that it will take me 
probably a couple of days just getting the makefile right etc.
Therefor, much easier to just take someone else code and tweak
it a little.

> I cannot understand this. DLL and COM are not concepts of the 
> same level. That's like to say "I prefer fruits to oranges" :-)

COM's are implemented as a DLL, I have been unclear. What I need
is to be able using the old win16/32 dll-calling convention, not
using the modern COM-convention.

The reason is that VBA doesn't support the COM supported by camlidl,
it only supports IDISPATCH. (I made some COM-stuff in my life, but
I do not like it, especially if you need to use C++. Now at last
in dotnet seems Microsoft gotten it right without wizards that
creates enormous amounts of code I don't understand.)

I would like to keep it as simple as possible, thus the dll-calling
convention is enough. I will only call a few functions and I only
need to return integers. (Thus no need to mess with BSTR, which
would be needed if I would return strings from ocaml to vb).

/mattias

-------------------
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 21:17 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
2002-07-19 21:16           ` Mattias Waldau [this message]
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='006401c22f69$95484c10$0700a8c0@gateway' \
    --to=mattias.waldau@abc.se \
    --cc=caml-list@inria.fr \
    --cc=dbely@mail.ru \
    /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).