[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: wxLua crashes when mouse hover on the frame window :-(
- From: T T <t34www@...>
- Date: Thu, 4 Aug 2011 16:21:49 +0100
On 4 August 2011 15:58, Thomas Lauer <email@example.com> wrote:
> Ryan Pusztai <firstname.lastname@example.org> 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.
Or for even more hackish feel, just flip the right bit in the compiled
binary, because that's all it takes :) You can use a tool like
stud_pe for that: