Home > Software engineering >  Win32 application MFC problem
Win32 application MFC problem

Time:10-11

Have joined the stdafx. H file, why can repay find cstrings type?

CodePudding user response:

# include & lt; Atlstr. H> Have a try

CodePudding user response:

Stdafx. H is precompiled header

CodePudding user response:

Stdafx. H file to be on the MFC header file contains

CodePudding user response:

# include & lt; Afx. H>

CodePudding user response:

After I use vc to generate an MFC project, bring it in to contain!

CodePudding user response:

http://m.blog.csdn.net/article/details? Id=7762362 refer to the above posts, or not!

CodePudding user response:

refer to 6th floor RouYing76 response:
http://m.blog.csdn.net/article/details? Id=7762362 refer to the above posts, or not!

There is some that MSDN

# include & lt; Afx. H>

CodePudding user response:

reference 4 floor zhao4zhong1 response:
# include & lt; Afx. H>

Correction:
 # include & lt; Afxdisp. H> 

CodePudding user response:

Solve! In the attribute set of vc, change the precompiled header to stdafx. H can! The original is not this,
  • Related