lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Ryan Pusztai <rpusztai@gmail.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.

-- 
cheers  thomasl