How the OCAF do?

Who can tell me How the OCAF Wizard work?
How it modify the MFC Application step by step?
Thanks very much!

fhchina's picture

What do you mean? Any Wizard in VC++ just generate a skeleton application. No wizard can be rerun to modify an existing MFC application.

Goodnight's picture

Sorry for my poor express.
I mean What should I build a OCAF without the wizard? I mean How can I add OCAF in my Project before?

fhchina's picture

Run OCAF wizard to create a new application, compare the difference between your existed application and this new application, then add those code generated by OCAF wizard while not in your program to your program mannually. I use this method when I upgrade my OCC program from just Visualization & modeling to OCAF.