Original Post
So I''m trying to encapsulate the DirectPlay8Server object into a nice, easy to use class...
My only problem is with the DirectPlayMessageHandler...I''ve declared that as static in the class definition file, but I''m still having trouble having *it* call other functions...
(ie. when you receive an ADD_PLAYER message type, it should call the function, "addPlayer", etc)...it''s complaining about an illegal call of a non-static function from a static function..
But yet, if I make all of these functions static, then I lose some of my inherited class functions..
Any ideas??
thanks,
Erik