Hi all.
I need big help.
Already 2 weeks i 'm trying create wx application with wxLua embedded and in 
vain.
I readed all information, compilied wxWidgets and wxLua tight (i think), 
but my application dont works.
OS Windows.

I have wxWidgets: 2.8.10.
Compiler: mingw
Make options: UNICODE, RELEASE, SHARED, MONOLITHIC.

And I have wxLua: 2.8.10
Compiler: mingw
Make options: UNICODE, RELEASE, SHARED, WXSHARED, MONOLITHIC.

(Tryed MONOLITHIC = 0, not work correctly too.)

All builded OK.
wx - applications works good without wxLua.

But when i link my app with wxLua libraries and write in code this:

extern bool wxLuaBinding_wxlua_init();
extern bool wxLuaBinding_wxbase_init();
extern bool wxLuaBinding_wxcore_init();
....
wxLuaBinding_wxlua_init();
wxLuaBinding_wxbase_init();
wxLuaBinding_wxcore_init();

, my app dont launch with system error 0xC0000005 (((

If i dont invoke functions "wxLuaBinding_wxbase_init()" and 
"wxLuaBinding_wxbase_init()", 
applications starts OK. But binds dont init:
if i try use lua code "wx.wxMessageBox("Lua code !!!");" into my app, 
happens error. If i use lua code "require 'wx'", happens something wrong - 
opens second frame and (duplicate base frame) and base frame dont receive 
events. I think, i must not use "require 'wx'" in embedded code.

In this link i post executable and dlls of my testing app:
rapidshare.com/files/295659834/sample.rar.html

Please tell me,  wat i do wrong?

P.S. Sorry for my bad english.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to