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 MAA15174; Sat, 3 Aug 2002 12:45:35 +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 MAA15460 for ; Sat, 3 Aug 2002 12:45:34 +0200 (MET DST) Received: from mx1.mail.ru (mx1.mail.ru [194.67.57.11]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g73AjX502985 for ; Sat, 3 Aug 2002 12:45:33 +0200 (MET DST) Received: from [213.171.63.98] (helo=kyra) by mx1.mail.ru with smtp (Exim SMTP.1) id 17awPY-000KUi-00; Sat, 03 Aug 2002 14:45:28 +0400 Message-ID: <000d01c23ae3$9dd62700$551aa8c0@kyra> From: "kyra" To: "Nicolas Cannasse" , "OCaml" References: <000901c237fe$04a92510$0700a8c0@warp> <001901c239b4$be8ccbf0$551aa8c0@kyra> <001101c23a0d$2f184220$0700a8c0@warp> Subject: Re: [Caml-list] OCam'OLE pre-release Date: Sat, 3 Aug 2002 14:47:56 +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 Again. Ocaml can GC any variable thas is no longer used 'as an ocaml variable'. But it turns out the underlying object is still used 'as COM object'. In the case of olegen may this be a bad design of oleaut32 server? Anyway, 'automatic' solution does not exist, so if we map ocaml 'finalize' to COM 'Release', we must maintain some 'discipline' trying to reference ocaml variable somewhere if we know it is still used as COM object. Hmm. If so, where in olegen.ml is this problem buried? ------------------- 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