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 AAA18141; Fri, 2 Aug 2002 00:37:29 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA18264 for ; Fri, 2 Aug 2002 00:37:28 +0200 (MET DST) Received: from mx1.mail.ru (mx1.mail.ru [194.67.57.11]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g71MbRr03859 for ; Fri, 2 Aug 2002 00:37:27 +0200 (MET DST) Received: from [213.171.63.98] (helo=kyra) by mx1.mail.ru with smtp (Exim SMTP.1) id 17aOZS-000M2R-00; Fri, 02 Aug 2002 02:37:26 +0400 Message-ID: <001901c239b4$be8ccbf0$551aa8c0@kyra> From: "kyra" To: "Nicolas Cannasse" , "OCaml" References: <000901c237fe$04a92510$0700a8c0@warp> Subject: Re: [Caml-list] OCam'OLE pre-release Date: Fri, 2 Aug 2002 02:39:55 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Dear Nicolas! Great job! Thanks. I believe, OCam'OLE strikes a very important win32 real-world target: COM Automation client. But I must point out typical error (I saw exactly the same error in Haskell HDirect/COM library): ocaml finalization and com release are _essentially different_ entities! Sorry for not being sufficiently verbose - i have not enough time right now. If You doubt this is an issue - I will definitely clarify my point. Now only a few words: I've built native olegen version (having replaced CoInitialize/CoUninitialize call in DllMain with a call in a static dummy class instance constructor/destructor), and discovered this olegen causes segmentaion fault! It turned out to be sufficient simply to comment out "i->Release();" in "com_finalize" to make it work. Regards, Kyra ------------------- 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