[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11405: emacsclientw.exe compiled by VC++ 2010 express is a console p
From: |
Eli Zaretskii |
Subject: |
bug#11405: emacsclientw.exe compiled by VC++ 2010 express is a console program |
Date: |
Sun, 06 May 2012 19:45:21 +0300 |
> From: Jason Rumney <jasonr@gnu.org>
> Cc: Du Yanning <duyanning@gmail.com>, 11405@debbugs.gnu.org
> Date: Sun, 06 May 2012 23:45:04 +0800
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> However, emacsclientw.exe compiled by VC++ 2010 express is a console
> >> program.
> >> It shows a black console window when it starts.
> >
> > Then something is wrong in the MSVC-specific parts of the makefile's.
> > When compiled with MinGW, emacsclientw invoked without arguments shows
> > a GUI dialog with an error message and an OK button.
>
> MSVC does not support the -mwindows linker flag for making a program
> into a GUI program. It only supports changing the source code to remove
> the main function and put a WinMain function in its place.
Thanks for the info.