On 6/12/07, Mateusz Czaplinski <[EMAIL PROTECTED]> wrote:
> Hello!
> I'm creating a small application using wxLua (2.8) from the DLL
> distribution, with a homemade DLL of lua-sqlite3 added. Everything is
> nice and I love it.
>
> There's only one small problem I noticed just recently which makes it
> a bit ugly: when I'm running my script by means of the "lua.exe"
> included in the package, a console window opens in the background and
> stays there for the whole time the app is running. Is it possible to
> change things to disable it?
>
> I see there's a distibution of wxLua in an .exe package, but I don't
> want future users to have to use it; or can I just get some wxlua.exe
> or something out of it and distribute with my script?

The console shouldn't be shown unless you use the flag /c or -c or
--console (depends on platform, but /c for DOS). Though maybe you're
using the last release? I forget what happened with that version.

In any case you want to use wxLuaFreeze.exe program to either run it
or better yet attach your script to. See the readme.txt file in
wxLua/apps/wxluafreeze/src to see how to do it. You can now just
distribute a single executable, the wxluafreeze program with your
script embedded in it.

Note that your program can only be a single file (or converted to one
before freezing) since the freeze script is too dumb to handle
anything more complicated.

Regards,
   John Labenski

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to