在做数据库的VC程序是老是出现下面的错误,请大虾指教:
Compiling...
LinkButton.cpp
f:\computer\vc数据库\例程\studentscore2\linkbutton.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/lhwy.pch': No such file or directory
Error executing cl.exe.有时候再重建一下数据源,重做个程序就行了.

解决方案 »

  1.   

    Fatal Error C1083
    Cannot open filetype file: 'file': messageAn error occurred opening the specified file.Tips This error can occur if the file, subdirectory, or disk on which it resides is read-only. In this case, make the file writable or move the file to a writable disk. See your operating system documentation for information on removing the read-only attribute from a file.
    This error may be caused by not having enough file handles. Close some open applications and recompile.
    Trying to open a file or directory for which you do not have permission can cause this error. Move the file to a directory where you do have access privileges, or ask your network administrator to grant you access to the file.
    If an include file could not be opened, check that the INCLUDE environment variable is set correctly and that the name of the file is spelled correctly.
    Using double quotation s around a complete path specification in a #include directive causes the standard directories to NOT be searched. See The #include Directive in the Preprocessor Reference for more information
      

  2.   

    你删掉debug目录,重新build一下一般就好了。那个文件可能损坏了
      

  3.   

    browser infomation file is damaged.just delete the .ncb file and rebulid all.
    or in ur project setting:select "browser info" tab,set the browser info filename blank.and reset.it is ok.