这是个FTP程序,我在编译的时候没通过,提示:
Cannot compile the file 'D:\Program Files\Microsoft Visual Studio\VC98\include\BASETSD.H';no compile tool is associated with the file extension.Cannot compile the file 'G:\文档\毕业设计\任务书\wftp\WFTP\GeniusDlg.h';no compile tool is associated with the file extension.Cannot compile the file  'G:文档\毕业设计\任务书\wftp\WFTP\Mainfrm.h';no compile tool is associated with the file extension. 
我想问下前辈,这样的问题经常是什么情况引起的?谢谢

解决方案 »

  1.   

    BASETSD.H 是不是 "basestd.h'的笔误?
      

  2.   

    能不能把 ERROR 号 说出来~   没有遇到这样的情况,本来想帮你查的,但是没有说 ERROR 号~
      

  3.   

    你改过工程了吧,或是新建了工程后把全部文件加入,或是改动了原来的,总之是把.h文件放到Source file类里去了,应该放再header file里。在file view里拖一下就可以了。
      

  4.   

    坦克兄,我在Source file类里没有发现.h文件,只有一个.rc文件,而且是所有的.h文件在compile的时候都出现那个提示,有没有可能是被加密的问题?
      

  5.   

    是所有的.h文件都不能compile,但是cpp文件就能
      

  6.   

    编译.cpp文件时已经包含.h文件了
    若只有.h文件(没有实现的.cpp文件)可以build工程来检验.h文件
    个人见解