Link to home
Create AccountLog in
Avatar of tantormedia
tantormediaFlag for United States of America

asked on

MFC: diff functionality

Dear experts,

Could you please suggest where I can find code to add a file comparing functionality to my MFC application? I found some on internet, but could not make them work for me.

Avatar of jkr
Flag of Germany image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of tantormedia


Thank you for your answer. This is one of those I have tried. Though it works when I build and run it as a separate solution, I cannot build it as part of my project.
typedef CTemplateArray <CFileLine*>            ArrayLines;
error C2143: syntax error : missing ';' before '<'
What version of Visual Studio are you using?
Oh, and which file/line was that?
I am using VC 2008, so the problem happens after conversion.
File FilePartition.h, line 45.
Of course, this is only the first error I got.
Hm, there's simply a

#include "Templates.h"

missing in 'FilePartition.h' - that's it (for that error, and probably for a lot more).
Yes, that was it. Thank you very much. Now I can work on to make it really work for me.