Re: [Wxlua-users] wxLua win98 memory allocation error..

2006-06-09 Thread John Labenski
On 6/9/06, Steve Kieu [EMAIL PROTECTED] wrote: All right, I fixed this but not understand why ; You may have the answer though lol What I did is; after comapring liles by lines with wxLua.cpp then add extern bool wxLuaBinding_wxstc_init(); and init it of course wxLuaBinding_wxstc_init();

Re: [Wxlua-users] wxLua win98 memory allocation error..

2006-06-08 Thread Steve Kieu
Thanks, just a sound - silly question :-) , If I add my custom binding to wxLua (in my application code, basically I have my own .i files, and genwxlua.sh etc..to generate my own set of bindings in different lua namespace, such as cl. similar like wx. ) does it in anyway to change the way that

Re: [Wxlua-users] wxLua win98 memory allocation error..

2006-06-08 Thread John Labenski
On 6/8/06, Steve Kieu [EMAIL PROTECTED] wrote: Still the combination: my exe ; a sqlite3 module loaded, and a relatively big table with strings or similar will gives wxLua Memory allocation error. Hummm, you mean a lua table created and used in lua? No ideas... Yeah the lua table, created

Re: [Wxlua-users] wxLua win98 memory allocation error..

2006-06-08 Thread Steve Kieu
All right, I fixed this but not understand why ; You may have the answer though lolWhat I did is; after comapring liles by lines with wxLua.cpp then add extern bool wxLuaBinding_wxstc_init();and init it of coursewxLuaBinding_wxstc_init();as I saw that is the only main difference between wxlua and

Re: [Wxlua-users] wxLua win98 memory allocation error..

2006-06-07 Thread John Labenski
On 6/4/06, Steve Kieu [EMAIL PROTECTED] wrote: I have repeatedly got the message when running the app in win98. With window 2000 and above, no problem. The app is like: at wxWidget app, at OnInit I start a wxLuaState and call run a file which is an command line argument. I have a wxThread

Re: [Wxlua-users] wxLua win98 memory allocation error..

2006-06-07 Thread Steve Kieu
<[EMAIL PROTECTED]>Not that I know of. It sounds like you know that you cannot call GUIfunctions from a thread, so if you're not doing any GUI stuff in thethread wxLuaState there shouldn't be a problem.Yes, the server process is non gui stuff. Even when there is only one thread, that is I ran the

Re: [Wxlua-users] wxLua win98 memory allocation error..

2006-06-07 Thread Steve Kieu
Okay It might be a compiled problem with sqlite3 module; in the script if I comment out the line to load it, it runs. But in another script, it load sqlite3 just fine.so for now I assume it is that library problem. Or sqlite3 problem in win98.CheersS.KIEU Send instant messages to your online

Re: [Wxlua-users] wxLua win98 memory allocation error..

2006-06-07 Thread John Labenski
Ok, thanks for the info. The compilation and linking problems are very tough to sort out. I remember a long time ago when wxWidgets changed their compilation flags, a program of mine would crash with absolutely no backtrace and nothing seemed wrong at all. It was just lucky that I thought of the