lua-users home
lua-l archive

Re: why crash?

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


YES!That is the problem.
First, thank you very very much!!!You are kindness.
UI.dll static link to lua.lib
Client static link to lua.lib
Client dynamic dependent on UI.dll
So the problem is emerge.
Now
UI.dll dynamic link to lua.lib
Client dynamic link to lua.lib
Client dynamic dependent on UI.dll and lua.dll
Everything is OK.
I have seen the same problem in BBS.
But it is first time to myself.
2010年9月20日 Dirk Feytons <dirk.feytons@gmail.com>:
> 2010年9月20日 l.jay Yuan <pass86@gmail.com>:
> [...]
>> If GetSameIDs() not call in UI event callback it is OK.
>> I find this: http://lua-users.org/lists/lua-l/2008-01/msg00669.html
>> I change the ltable.c(75) to "static volatile const Node dummynode_ = {"
>> And I rebuilded lua, tolua++.
>> The crash do not be fix.
>> OMG, I am in misery...
>> SOS...
>
> Read the rest of that thread. You likely have two (or more) copies of
> Lua linked into your application. Eliminate the copies and your
> problem will be solved.
>
> --
> Dirk
>
>

AltStyle によって変換されたページ (->オリジナル) /