In my defence though.. I am attempting to learn how to set up lua binding with my only experience being fiddling with lua code in WoW addons.. I don't really count that though as everything I did was more writing lua, not implementing it. I just wish there was a better guide out there :\ and I sware I looked up every function I called and could never findhttp://www.lua.org/m....html#lua_close.. I must just be blind...
The best way to learn lua and luabind I would say is NOT through beating your head against the wall as fast as possible till you break the wall down, probably stepping through the door (i.e. learn lua, then learn luabind) but I just don't have time... haha I should upload the work sheet we were given in which to learn lua and impliment it into a project.. the funniest thing about it was that the version of luabind they gave us was bugged + not statically linked... when ever you modified a file that had included luabind it would corrupt the link and you would have to clean/rebuild... so I had to learn how to build lua + boost + luabind... The worst part is that it is a requirement for the assignment, but when I ask my tutor/lector for help in lua/luabinding they couldn't, I had to ask my class mates who did it last semester (and they had just as much joy initially)
hahaha now I understand why I was getting access violations, lua had free'd up the space, but I still had a pointer to that space #DOH!#
it's sad that a random interwebs person is a better teacher than my teacher -.-
they should just fire the lecturer and the tutor guys and employ google full time
any particular reason for a -1 on this?
I am admitting my fault + thanking you?
you gotta understand I am stressing a lil atm
but I am defiantly gonna make a tutorial when I finish this unit, hell, if I help one person it will be worth it