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 NAA10736; Thu, 22 Aug 2002 13:31:42 +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 NAA10679 for ; Thu, 22 Aug 2002 13:31:41 +0200 (MET DST) Received: from mailhost.trusted-logic.fr (mailhost.trusted-logic.fr [194.250.150.5]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g7MBVfv20145 for ; Thu, 22 Aug 2002 13:31:41 +0200 (MET DST) Received: from ouessant.trusted-logic.fr (ouessant.trusted-logic.fr [192.168.1.201]) by mailhost.trusted-logic.fr (Postfix) with ESMTP id A2259F818E for ; Thu, 22 Aug 2002 13:31:40 +0200 (CEST) Received: (from lacas@localhost) by ouessant.trusted-logic.fr (8.9.3/8.9.3) id NAA09647 for caml-list@pauillac.inria.fr; Thu, 22 Aug 2002 13:31:40 +0200 Date: Thu, 22 Aug 2002 13:31:40 +0200 From: Samuel Lacas To: caml-list@pauillac.inria.fr Subject: [Caml-list] [OCAMOLE] problem with guid Message-ID: <20020822133140.A4642@ouessant.trusted-logic.fr> Mail-Followup-To: caml-list@pauillac.inria.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us X-Send-From: ouessant.trusted-logic.fr X-Operating-System: Linux ouessant.trusted-logic.fr 2.2.19 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, I found the following problem with the last ocamole-pre library: # #load "ocamole.cma";; # open Ocamole;; # guid_of_string;; - : string -> Ocamole.guid = Then, guid_of_string "something" crashes the runtime interpreter. I have the log of the system, if that can be of any help. By the way, I'm quite confused by these guid, due to my lack of deep konwledge of COM automation/interface. For instance, olegen on PowerPoint gave me ml-interface like the following: module Shapes : sig sigtype t = shapes [...] val guid : guid [...] shapeval add_label : t -> orientation:guid -> left:float -> top:float -> width:float -> height:float -> shape [...] end The function add_label should allow to create a new label object to the (list of shapes of some) slide. However, I do not manage to find what are the "orientation:guid" parameter possible values ? guid_of_string and string_of_guid seem to be the only available functions to manipulate guid, but then I discovered that the string_of_guid crashes. I tried to retrieve information on already created objects, but most of the call to functions with return types "guid" failed (some exception was thrown from the COM side, stating "Bad return type", or something similar). Other methods worked (that is, any that does not need or return a guid), by the way. I suspect that the olegen possibly created a wrong COM interface here. Sincerely, sL ------------------- 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