Added my old framework 'as is'.
Replaced CString from ATL by wstring from standart lib.
Replaced CRect from ATL by simple hand-made rects class. The project is now compiling.