MY STUFF --------- luabind::class_("CBaseEntity") // Export CBaseEntity (only some members here) .def("KeyValue", &CBaseEntity::KeyValue ) THE FUNCTION --------- virtual bool KeyValue( const char *szKeyName, const char *szValue ); ERRORS -------- Error 2 error C2780: 'luabind::class_ &luabind::class_::def(luabind::detail::operator_)' : expects 1 arguments - 2 provided e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 118 Server (SDK) Error 3 error C2784: 'luabind::class_ &luabind::class_::def(luabind::detail::operator_,const Policies &)' : could not deduce template argument for 'luabind::detail::operator_' from 'const char [9]' e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 118 Server (SDK) Error 4 error C2784: 'luabind::class_ &luabind::class_::def(luabind::constructor,const Policies &)' : could not deduce template argument for 'luabind::constructor' from 'const char [9]' e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 118 Server (SDK) Error 5 error C2780: 'luabind::class_ &luabind::class_::def(luabind::constructor)' : expects 1 arguments - 2 provided e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 118 Server (SDK) Error 6 error C2780: 'luabind::class_ &luabind::class_::def(const char *,F,Default,const Policies &)' : expects 4 arguments - 2 provided e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 118 Server (SDK) Error 7 error C2780: 'luabind::class_ &luabind::class_::def(const char *,F,DefaultOrPolicies)' : expects 3 arguments - 2 provided e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 118 Server (SDK) Error 8 error C2914: 'luabind::class_::def' : cannot deduce template argument as function argument is ambiguous e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 118 Server (SDK) Error 9 error C2784: 'luabind::class_ &luabind::class_::def(const char *,F)' : could not deduce template argument for 'overloaded function type' from 'overloaded function type' e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 118 Server (SDK) Error 10 error C2228: left of '.def' must have class/struct/union e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 119 Server (SDK) Error 11 error C2228: left of '.def' must have class/struct/union e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 120 Server (SDK) Error 12 error C2228: left of '.def' must have class/struct/union e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 121 Server (SDK) Error 13 error C2228: left of '.def' must have class/struct/union e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 122 Server (SDK) Error 14 error C2228: left of '.def' must have class/struct/union e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 123 Server (SDK) Error 15 error C2228: left of '.def' must have class/struct/union e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 124 Server (SDK) Error 16 error C2228: left of '.def' must have class/struct/union e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 125 Server (SDK) Error 17 error C2228: left of '.def' must have class/struct/union e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 126 Server (SDK) Error 18 error C2228: left of '.def' must have class/struct/union e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 127 Server (SDK) Error 19 error C2228: left of '.def' must have class/struct/union e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 128 Server (SDK) Error 20 error C2228: left of '.def' must have class/struct/union e:\luabindtest\src\game\server\luabind\luabind_hl2.cpp 129 Server (SDK)