Browse thread
[Caml-list] Windows (MSVC) applications without the console window...
-
Felix Winkelmann
-
Nicolas Cannasse
-
Harry Chomsky
- Felix Winkelmann
-
Harry Chomsky
-
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: | -- (:) |
| From: | Felix Winkelmann <felix@p...> |
| Subject: | Re: [Caml-list] Windows (MSVC) applications without the console window... |
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