[Openmcl-devel] Windows port: how to get rid of pesky console.

Valentin Baciu valentin at syntactic.org
Sun Oct 24 12:34:22 UTC 2010


Hi Kaz,

You could also use
editbin.exe<http://msdn.microsoft.com/en-us/library/4cc7ya5b(v=VS.80).aspx>
which
can be found in many of the Microsoft SDKs and change the SUBSYSTEM property
to WINDOWS instead of CONSOLE. This should work for any Win32 executable
file.

On Sat, Oct 23, 2010 at 9:32 PM, Kaz Kylheku <kaz at kylheku.com> wrote:

>
> Clozure is a console application on Windows. If it is invoked outside of a
> console, one is created for it.
>
> I was going to ask, ``Is there a way to suppress that?''
>
> But it turns out, there is another solution in my situation.
>
> The program I'm working on will be activated via a launcher/manager
> program that I just developed yesterday (a small
> Visual C++ program that represents the background application as an
> icon in the system tray).
>
> In the CreateProcess call to invoke the background Lisp, I just tried
> using CREATE_NO_WINDOW, and this works just fine: no console!
>
> The same trick could be used in a small wrapper program.
>
> Doing it this way is good because there are obvious advantages
> to keeping the Lisp program itself as a console app.
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20101024/9cb71cb7/attachment.html>


More information about the Openmcl-devel mailing list