Browse thread
[Caml-list] Windows (MSVC) applications without the console window...
-
Felix Winkelmann
- Nicolas Cannasse
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2004-05-14 (14:31) |
From: | Nicolas Cannasse <warplayer@f...> |
Subject: | Re: [Caml-list] Windows (MSVC) applications without the console window... |
> Hello! > > (I'm new to this list, so if this has come up before, > my apologies) > > 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. I'm using Windows XP home. > > Any ideas? You need to get OCaml Win32 API from here : http://www.speakeasy.org/~hchomsky/ocaml-win32.html And then a simple call to free_console() will remove the console. One other way is to hack the exe in order to change its mode from "console application" to "win32 application". Maybe an ocaml linker option would be nice to do that. Regards, Nicolas Cannasse ------------------- 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