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.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

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

ASKER

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.
E.g.
typedef CTemplateArray <CFileLine*>            ArrayLines;
gives
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.