> Please read this for a better understanding, only
> wxEvtHander::AddPendingEvent() is safe from worker threads.
> http://docs.wxwidgets.org/trunk/overview_thread.html
Yes but this is for just one window messaging system. I would like to have
two independent
window messaging systems connected b
On Sun, Sep 16, 2012 at 11:02 AM, Victor Bombi wrote:
> Hello,
>
> I am triying to compile wxlua with mingw.
>
> wxWidgets 2.9.4 was compiled with mingw :
>
> mingw32-make.exe -f makefile.gcc SHARED=0 UNICODE=0 BUILD=release
> and
> mingw32-make.exe -f makefile.gcc SHARED=0 UNICODE=1 BUILD=release
On Mon, Sep 17, 2012 at 6:15 AM, Victor Bombi wrote:
>
> Thank you for answering. I have solved the problems in my lualanes and wx
> application. It seems that something is not working if I do
> require"something" inside a lane that has not been required in the lua_state
> where wx is loaded. When
Hi Paul,
Thank you for your reply.
I think this is not the same case.My problem is that lualanes creates a
completely new lua_State running in a separate thread
and a call to require on wx returns lua_getglobal(L, "wx"); which is nil in
that new lua_State. The other part in luaopen_wx is not ca
Hi Victor,
> I have always wanted to require wx in a lane but because of "only once" dll
> initialization it does not work. I am able to require wx from a lane if it
> has not been required from the "main" lua_State.
I might have seen a similar issue, but for a different reason: I
wanted to be ab
> Can you add this line to modules/luamodule/luamodule.cpp to help
> figure out what is happening and recompile?
>
> 50 BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call,
> LPVOID )
> 51 {
>
> printf("AAA %p %d : a %d d %d\n", hModule,
> (int)ul_reason_for_call, (int)DLL_PROCESS_
On Sun, Sep 16, 2012 at 2:52 PM, Victor Bombi wrote:
> There is an assert complain about resources not being loaded and something
> about wx.rc.
> The message doesnt appear know, application simply crash
> I saw in the code that __WXMSW__ should be defined for remembering the
> dllinstance for loa
On Sun, Sep 16, 2012 at 11:02 AM, Victor Bombi wrote:
> Hello,
>
> I am triying to compile wxlua with mingw.
>
> wxWidgets 2.9.4 was compiled with mingw :
> mingw32-make.exe -f makefile.gcc SHARED=0 UNICODE=0 BUILD=release
> and
> mingw32-make.exe -f makefile.gcc SHARED=0 UNICODE=1 BUILD=release
>
On Sun, Sep 16, 2012 at 2:23 PM, Victor Bombi wrote:
> Solved the problem of not dll linking to lua51.dll with
>
> -DwxLua_LUA_LIBRARY=C:/LUA/luabuildmingw/lua51.dll
> -DwxLua_LUA_INCLUDE_DIR=C:/LUA/lua-5.1.5/include
>
> So I have tryed the build and while testing if unicode is ok for my program
>
some other strange asserts. the samples seem too work but not my program
which uses lualanes for do multitasking. It has been working with wx 2.8.10
binarys downloaded and everything else compiled with msvc2005. Also with
binarys wx2.8.12 and everything compiled with msvc2005 but when I have
co
There is an assert complain about resources not being loaded and something
about wx.rc.
The message doesnt appear know, application simply crash
I saw in the code that __WXMSW__ should be defined for remembering the
dllinstance for loading resources.
Must I define it? Where?
Best Regards
Victor B
Solved the problem of not dll linking to lua51.dll with
-DwxLua_LUA_LIBRARY=C:/LUA/luabuildmingw/lua51.dll
-DwxLua_LUA_INCLUDE_DIR=C:/LUA/lua-5.1.5/include
So I have tryed the build and while testing if unicode is ok for my program I
found that wx.wxOPEN is not longer defined but instead wx.wxF
I have finally been able to compile with
"C:\Program Files\CMake 2.8\bin\cmake" -G"MinGW Makefiles"
-DCMAKE_BUILD_TYPE=Release -DwxWidgets_ROOT_DIR=C:/LUA/wxWidgets-2.9.4
-DwxWidgets_LIB_DIR=C:/LUA/wxWidgets-2.9.4/lib/gcc_dll
-DwxWidgets_CONFIGURATION=mswu -D wxWidgets_VERSION=2.9.x
-DBUILD_
Hello,
I am triying to compile wxlua with mingw.
wxWidgets 2.9.4 was compiled with mingw :
mingw32-make.exe -f makefile.gcc SHARED=0 UNICODE=0 BUILD=release
and
mingw32-make.exe -f makefile.gcc SHARED=0 UNICODE=1 BUILD=release
compiled test named aui with unicode=0 and unicode=1 without problem
14 matches
Mail list logo