From: "Nicolas Cannasse" <warplayer@free.fr>
To: "Felix Winkelmann" <felix@proxima-mt.de>, <caml-list@inria.fr>
Subject: Re: [Caml-list] Windows (MSVC) applications without the console window...
Date: Fri, 14 May 2004 16:28:44 +0200 [thread overview]
Message-ID: <006401c439bf$c33a9670$ef01a8c0@warp> (raw)
In-Reply-To: <40A493C6.2060903@proxima-mt.de>
> 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
next prev parent reply other threads:[~2004-05-14 14:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-14 9:39 Felix Winkelmann
2004-05-14 14:28 ` Nicolas Cannasse [this message]
2004-05-14 16:58 ` Harry Chomsky
2004-05-17 8:18 ` Felix Winkelmann
2004-05-17 8:35 ` Xavier Leroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='006401c439bf$c33a9670$ef01a8c0@warp' \
--to=warplayer@free.fr \
--cc=caml-list@inria.fr \
--cc=felix@proxima-mt.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox