I'm very frustrated at this right now. I can't seem to figure it out.
I created my own class called "CMais" and it used a generic class and the base class of the CObjectArray. I added 10 member variables and am trying to now serialize the class. When I go to add the member function, I type the function as "Serialize(CArchive &ar)" and the access as public and the virtual box is checked. When I click the "OK" button, it comes up with an error that "Serialize(CArchive &ar) is not a valid function in C++". What does this mean and how can I fix it?
Thanks for all your help.
I have attached a copy of my Mais.cpp file for you to look at for a deeper involved look.