MFC error LNK2019

MFC 添加对话框引用对话框对象时 编译报错:error LNK2019,解决办法是在工程文件上选择对话框类文件右键---->属性---Item Type改为C/C++ header(.h)和C/C++ Compiler(.cpp)

原文地址:https://www.cnblogs.com/waterair/p/7048166.html