MyBase-Class in MyBase.h:int CheckError();
//Ensure ClientThread() has access to CheckError
friendunsignedint WINAPI MyClientThread(void* v);
Server-Class(inherited from MyBase) in Server.h:friendunsignedint WINAPI MyClientThread(void *v);
MyClientThread()-Func in a .cpp:
{...CheckError()...};
But the compiler tells me the call to CheckError() in "MyCLientThread()" is an invalid call to an non-static member function...
are all friend funcs restricted to static member functions because they are not parts of the class itself?