Ok, firstly your class has no method named "MsgGenericYesNoCancel". You can't assign new elements to the class if you've already got the header file done. The class is defined at this point. If you want to add a new function, you need to declare it in the header first.
Secondly, you need to define the string parameters of the functions as std::string - at the moment I expect you're getting errors telling you that it doesn't know what string is?
You also need to put WWin:: infront of the type specifiers for your enum.
Also, on line 22, you will always be setting the response to cancel. If you don't enclose the statements after if/else if/else in brackets {}, then it will only consider the first statement as part of that block. The resp=cancel; line might as well be on the line above return resp
I refer to the posibility of some errors can hide others
I've rewrited the code and now I get other kind of errors.
The same situation happens in other files, can be the compiler are becoming mad because of my bad code ?
Thanks
If you don't tell us what the errors are, then it's unlikely we'll be able to help you. I can't compile the program in my head to see what's wrong with it.
Read the errors, they're usually quite clear. Post any you don't understand, and perhaps and update of your code files.