From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA09903; Fri, 19 Jul 2002 23:17:17 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA09892 for ; Fri, 19 Jul 2002 23:17:16 +0200 (MET DST) Received: from maila.telia.com (maila.telia.com [194.22.194.231]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g6JLHGv29761 for ; Fri, 19 Jul 2002 23:17:16 +0200 (MET DST) Received: from d1o849.telia.com (d1o849.telia.com [213.66.248.241]) by maila.telia.com (8.12.5/8.12.5) with ESMTP id g6JLHFq0001899; Fri, 19 Jul 2002 23:17:15 +0200 (CEST) X-Original-Recipient: caml-list@inria.fr Received: from gateway (h52n2fls34o849.telia.com [217.208.235.52]) by d1o849.telia.com (8.10.2/8.10.1) with ESMTP id g6JLHFH08691; Fri, 19 Jul 2002 23:17:15 +0200 (CEST) From: "Mattias Waldau" To: "'Dmitry Bely'" Cc: Subject: RE: [Caml-list] Looking for sample DLL Date: Fri, 19 Jul 2002 23:16:43 +0200 Message-ID: <006401c22f69$95484c10$0700a8c0@gateway> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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