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

时间:2023-03-09 18:42:25
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

解决方式:

事实上这个问题非常easy,就是当前你选择的源程序是一个非.cpp 文件。

比方我如今选择的是一个头文件:

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

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