jjzjj

c++ - 如何处理 ATLMFC 包含文件中的指针截断?

在将我当前的32位应用程序移植到64位的过程中,我添加了编译器选项/we4302(引用SOQuestionClarification:Porting32to64bit和HansPassant的建议答案),我遇到了ATLMFCInclude的情况文件似乎有指针截断。c:\ProgramFiles(x86)\MicrosoftVisualStudio10.0\VC\ATLMFC\INCLUDE\afxtempl.h(163):errorC4302:'typecast':truncationfrom'CControlBar*'to'long'c:\ProgramFiles(x86)\Micr