shell32: Use CREATE_NEW_CONSOLE when SEE_MASK_NOCONSOLE is omitted.
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Thu Apr 17 03:06:10 CDT 2014
Hi Vincent,
On 17/04/2014 7:11 AM, Vincent Povirk wrote:
> MSDN specifically mentions that this flag is the opposite of
> CREATE_NEW_CONSOLE:
> http://msdn.microsoft.com/en-us/library/windows/desktop/bb759784%28v=vs.85%29.aspx
>
> I also wrote a test program (built with -mconsole), which uses
> ShellExecuteEx to run cmd.exe. When running it from a command line on
> windows, it creates a new console window for cmd.exe only when
> SEE_MASK_NOCONSOLE is not in fMask. (If I compile with -mwindows, it
> seems to create a new console window regardless of the value of the
> flag or how I start it, which looks like another wine bug to me.)
>
I submitted a patch to do this but was reject since it causes the test
to behave exactly like window. :(
Look for "Correct create flags when SEE_MASK_NO_CONSOLE isn't specified"
in January 2014 mailing lists.
Best Regards
Alistair Leslie-Hughes
More information about the wine-patches
mailing list