From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 2114BBC0C for ; Thu, 25 Jan 2007 13:03:13 +0100 (CET) Received: from orion.metastack.com (no-dns-yet.demon.co.uk [80.177.38.218] (may be forged)) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l0PC3FRL004771 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 25 Jan 2007 13:03:16 +0100 Received: from treble (cpc2-cmbg6-0-0-cust535.cmbg.cable.ntl.com [81.107.34.24]) (authenticated bits=0) by orion.metastack.com (8.13.4/8.13.3) with ESMTP id l0PBKUPr017134 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 25 Jan 2007 11:20:31 GMT From: "David Allsopp" To: "OCaml List" References: Subject: RE: Win32 Services & O'Caml Date: Thu, 25 Jan 2007 12:03:48 -0000 Organization: MetaStack Solutions Ltd. Message-ID: <003601c74078$e133ccb0$6a7ba8c0@treble> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: AcdAd2cJKZqaQ1mYTGekZ1yfoL7WagAAR2Ng In-Reply-To: X-j-chkmail-Score: MSGID : 45B89C83.002 on concorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at concorde with ID 45B89C83.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; o'caml:01 makefile:01 ocaml:01 cygwin:01 mingw:01 gcc:01 probably:07 path:07 installing:08 i'm:09 exe:09 source:12 create:12 built:12 build:13 > The code is at http://tinyurl.com/2wvd2x ... the Makefile contains the > command to build it. Microsoft's SC utility is the easiest way of > installing the service by running sc create Testing binPath= {full path to > exe} You can then either control the service using Services.msc or via the > sc start start/stop/pause/continue commands. Doh: should probably mention that I'm using OCaml 3.09.3 built from source using Cygwin/MinGW (i.e gcc) on Windows XP SP2!