From: Steve K. <ha...@ya...> - 2006-06-06 01:46:01
|
Hi, 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 class in c++ which just very simple thread to spawn another wxLuaState and run a file.lua . This class is accessible in lua script. Basically the first arg is the main window to open the GUI, and there is a menu to allow the thread to run another lua file in a different thread ; a server process. Everything works as expected in win2k . XP, but not win98. Even I do not have thread at all; just use wxLua and run the server script, which is a non GUI apps it gives the memory allocation error as well. However if I use the lua50.exe interprepter it works just fine so at the moment I have to wrap it using os.execute() call and use lua50.exe. Is there any GUI conflict if we use wxLua to run a Non GUI script in win98? Cheers, S.KIEU Send instant messages to your online friends http://au.messenger.yahoo.com |