it's a MFC application?

there are many portability issues when compiling a MFC 6.x project in MFC 7

Read the documentation...