On 12/21/06, Francesco Montorsi <[EMAIL PROTECTED]> wrote: > John Labenski ha scritto:
> However mails are ok anyway ;) Is there anything you'd like me to do? If you don't mind doing it, I thought all that needs to be done is compiling in VC6 and getting the inno setup working. > > but I should be around sunday for a bit. > ok, let's do sunday morning then. Hopefully it should be a pain-free > process however. > > > I will check these in an hour. > > VS 2005 dsw using debug lib/dll > > VC 2003 makefile.vc release lib/dll > good, yesterday however I tried to build with VC2003 and I've found that > the LNK4006 problem was not solved... :( I comes and goes or maybe I'm not paying attention sometimes? It makes no sense to me and seems harmless, though annoying. > > I think the C++ code is ok, there's a few things on my todo list, but > > nothing that should get done before the release. > good. > > BTW I've tried to use a bit the samples with the very latest CVS and > I've found that some of them may need some small fixes: I've fixed them, thanks for testing! These are a result of the tightening up of the allowed parameters to the functions and, yes, most of these were bugs where the variable passed to a wxLua function was either a typo or not initialized and had a value of 'nil' which used to translate to 0 or "". I think it's better this way since It's very easy to forget [wx.]XXX and if you just get 0 or "" you might not even know that there's a problem without rigorous testing. > [EMAIL PROTECTED]:~/work/wxLua/samples$ wxlua debug.wx.lua > [Debug] 18:07:33: ./wxlua/src/wxlbind.cpp(330): assert > "!wxlState.GetCallBaseClassFunction()" failed in > wxLua_lua_getTableFunc(): Base class function call not reset > Trace/breakpoint trap > > (choosing File->Debug) This sample is BROKEN and I really don't have any idea what it's supposed to do. It should be completely rewritten to more simply show some debugging code instead of having all of the extra scribble code which just confuses things. All it does now is popup a messagebox telling you that it doesn't do anything. It has some interesting ideas so I don't want to erase it and start over. Also... and this is for later, the virtual function code needs to be tweaked or rewritten. The error you got is a check for recursion, but this isn't a show stopper since the error is for trying to make a function for an object in *lua* virtual, which is quite different than overriding a virtual function in C++ which requires you to really sublcass it in C++. There's not much point in making virtual lua functions since nobody but the lua code you write will ever call them. I need to think more about this though. Thanks John Labenski ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users