Re: PR_CreateProcess() without Windows console window?

Fredrik Roubert <[email protected]> Mon, 12 Jul 2010 12:44:51 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.nspr
Organization http://groups.google.com
Message-ID <0114bf7a-80e6-46ea-9f9c-6ba377e58214@k39g2000yqd.googlegroups.com>
On Jul 12, 9:36 pm, Wan-Teh Chang <[email protected]> wrote:

> That console window is caused by building the executable as a console
> application.

Correct.

> Is it possible to build the executable as a Windows application (which
> means using wmain instead of main and perhaps specifying some
> linker flag)?

No, I'm not building this executable myself.

> It seems that the problem is caused by the way
> the executable is built, so I'm not sure if we can fix the console
> window problem by passing some flags to CreateProcess().

I'll write some example code to see what can be done with the right
flags to CreateProcess().

--
Fredrik Roubert
[email protected]