[mythtv] Ticket #4702: Win32 configuration patches
andrei at tanas.ca
Fri Jul 4 02:33:41 UTC 2008
> extract from http://blogs.msdn.com/junfeng/archive/2004/02/06/68531.aspx:
> In VisualStudio case, there are actually two binaries: devenv.com and
> devenv.exe. Devenv.com is a Console app. Devenv.exe is a GUI app. When
> you type devenv, because of the Win32 probing rule, devenv.com is
> executed. If there is no input, devenv.com launches devenv.exe, and
> exits itself. If there are inputs, devenv.com handles them as normal
> Console app.
> In ildasm case, there is only one binary: ildasm.exe. It is first
> compiled as a GUI application. Later editbin.exe is used to mark it as
> console subsystem. In its main method it determines if it needs to be
> run as console mode or GUI mode. If need to run as GUI mode, it
> relaunches itself as a GUI app.
That's exactly the point - there's no straightforward solution. Now, I
understand going all these lengths for developer tools, but for an end-user
application (I realize that up until now only a handful of developers saw it
running under Windows) having debug builds as console + GUI and release ones
as pure GUI seemed sufficient to me.
More information about the mythtv-dev