That error is basically telling you that m_Surface isn't defined anywhere. It would be like doing this:
int i = 0; // OK
abc = 1; // <-- abc = undeclared
Check to make sure m_Surface is defined somewhere, typically in the header file. Make sure your project environment can also find the header file. In Visual Studio, right click on "#include "myfile.h" (or whatever headers you have) and click on "Open Document". If VS throws an error, then your include paths isn't setup correctly. You need to right click on your project -> go to configuration properties -> C/C++ and make sure "Additional Include Directories" contains all your paths.