Oh how embarassing! I didn't even realise what I was doing. I have a test
program working that creates and uses objects instantiated from different
classes, even sub-classes. It was so easy thanks to Lua and ToLua; awesome programs!
Thanks
Mike
Quoting Waldemar Celes <celes@inf.puc-rio.br>:
>
> >
> >tolua -o baseObject_lua.C -H baseObject_lua.hxx baseObject.pkg
>
> you should call the output baseObject_lua.cpp, otherwise VC6 compiles
> it as a C program, not C++.
>
> -- waldemar