From: Steve K. <ha...@ya...> - 2006-06-07 23:54:38
|
I think there is something wrong with compilers (VC7) in this case. I have recompiled wxlua; and now wxlua is ok. But my program still refuses to work. What the strange thing is, yestaerday I add wxDatePickerCtrl bind to my wxLua (in my application name space, so nothing related to wxLua origin) and my app stop working even in GUI script; but still work in another GUI script, so the rule is non GUI script gives error is not correct anymore. The error message is the same: memory allocation error. The difference between my app and wxLua is I add another lua namespace and bind some widgets , custom class to lua in that namespace. Again, everything works stable and flawlessly in w2k above . Compiled under winXP using VC7 (Visual Studio .NET 2003) ; optimization /O2 ; blended. wxWidgets Unicode built; and in w98 using unicows.lib link (could it be the problem? to answer this I probably have to recompile the whole tools without unicode support which is ..... ) yes the strange thing is now wxLua works as normal after recompile it. I will have to get bottom of this but it may take a while. ANy idea of best way to debug this will be very helpful. Cheers S.KIEU Send instant messages to your online friends http://au.messenger.yahoo.com |