tags:

views:

28

answers:

0

Hi,

I had a project under MFC 7.0 and now I created new project under MFV 9.0.

I copied all the files, did the relevant changes in generated files (Doc, view, resources etc.) and when I try to build to project, the compiler outputs the following error:

Error 1 error C2146: syntax error : missing ';' before identifier 'CUserToolsManager' c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxusertoolsmanager.h 81

Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxusertoolsmanager.h 81

When I check this line I see there is define AFX_IMPORT_DATA which is not recognized.

Many other compilations errors occur with the same problem.

Before I shifted my files the project compiled o.k. not I have this issue.

I cannot find anything about AFX_IMPORT_DATA and understand its role.

Please any one can help me?

Thanks