[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: wxLua crashes when mouse hover on the frame window :-(
- From: Thomas Lauer <thomas.lauer@...>
- Date: Thu, 04 Aug 2011 15:58:32 +0100
Ryan Pusztai <email@example.com> wrote:
> wlua.exe is for Windows only and it makes it so that the console is not
> displayed when running a Lua script. Windows is funny how it ALWAYS displays
> a console unless you have an entry point to the app called WinMain() (and a
> linker settings change).
I think that's not entirely correct. WinMain() is not required, AFAIK.
It's the linker switch which does the trick and you can actually relink
an existing .exe file with a changed setting and so change the
behaviour. I've done that on occassion and though it has a slightly
"hackish" feel it has always worked.