You probably either hacked into some wizard-generated code (you sould NEVER delete those AFX_XXX comments, since it's ClassWizard's mark for ections to write/read its code), or it's simply not a ClassWizard generated class.
Compare the header with another wizard-generated class to copy back the AFX_XXX insertion points (if hacking is what you've been done).
Greetings,
Rick
Well, I don't know about the update data error (you might have hacked in the DoDataExchange as well).
Those commented lines are being used by the ClassWizard to read the information it has written into your class and append information there. UpdateData results in a call to DoDataExchange, which you might have altered too....
It's not just the commented lines you should stay away from, you know. The actual code generated by the wizard should be altered by the wizard itself. Only if you exactly know what's going on in the code, and what the consequences will be when making changes you should alter that code yourself.
Greetings,
Rick
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.