vc6.0 点编译时提示Cannot complile the file 'D:\souce-code\vc-workspace\对话框\MainFrm.h'; no compile tool is

问题描述:

                 vc6.0程序,点击编译时提示对话框,内容为:

        Cannot complile the file 'D:\souce-code\vc-workspace\对话框\MainFrm.h'; no               compile tool is associated with the file                                                                           extension.

                  vc6.0 点编译时提示Cannot complile the file 'D:\souce-code\vc-workspace\对话框\MainFrm.h'; no compile tool is_第1张图片

解决方案:

                  其实这个问题很简单,就是当前你选择的源程序是一个非.cpp 文件,

                  比如我现在选择的是一个头文件:

                                            vc6.0 点编译时提示Cannot complile the file 'D:\souce-code\vc-workspace\对话框\MainFrm.h'; no compile tool is_第2张图片

                          解决办法就是选择Source File中的源文件即可。

                     

你可能感兴趣的:(VC++)