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 KAA24267; Mon, 17 May 2004 10:18:49 +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 KAA24650 for ; Mon, 17 May 2004 10:18:47 +0200 (MET DST) Received: from natnoddy.rzone.de (natnoddy.rzone.de [81.169.145.166]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i4H8IkSH028002 for ; Mon, 17 May 2004 10:18:46 +0200 Received: from proxima-mt.de (ppp-53-146-252-213.dsl.bbone.goetel.net [213.252.146.53]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id i4H8IN2O023142; Mon, 17 May 2004 10:18:23 +0200 (MEST) Message-ID: <40A8754F.3050303@proxima-mt.de> Date: Mon, 17 May 2004 10:18:23 +0200 From: Felix Winkelmann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Harry Chomsky CC: Nicolas Cannasse , caml-list@inria.fr Subject: Re: [Caml-list] Windows (MSVC) applications without the console window... References: <40A493C6.2060903@proxima-mt.de> <006401c439bf$c33a9670$ef01a8c0@warp> <05f801c439d4$ba2d56c0$0200a8c0@harry> In-Reply-To: <05f801c439d4$ba2d56c0$0200a8c0@harry> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 40A87566.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 3.07:01 mkwinapp:01 ocaml-win:01 ocaml's:01 runtime:01 ocamlrun:01 ocaml-win:01 mkwinapp:01 followup:01 ocamlopt:01 invocation:01 ocamlrun:01 ocaml:01 ocaml:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Harry Chomsky wrote: >>>I'm using OCaml 3.07 on Windows (MSVC build) and I wonder >>>whether it's possible to create standalone applications >>>that run without opening a console window. Some googling >>>directed me to mkwinapp (from the OCaml-Win32 distribution) >>>but apparently it doesn't work. > > > Can you be more specific about what doesn't work? I haven't tried it with > the most recent versions of OCaml and Windows, so there may be bugs that I > don't know about. Or you may be running into the limitations caused by > OCaml's use of a separate application for its runtime (ocamlrun.exe). Make > sure you read and understand section 3 ("Subsystems") of the file build.txt > included with the OCaml-Win32 distribution. mkwinapp just appears to be ineffective on a bytecode-compiled file. But (as I said in my followup), it works nicely with native code compiled with ocamlopt. So it really seems to be related to the invocation of ocamlrun (I guess), cheers, felix ------------------- 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