[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: |
Jason Rumney |
Subject: |
bug#11405: emacsclientw.exe compiled by VC++ 2010 express is a console program |
Date: |
Sun, 06 May 2012 23:45:04 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
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.