很奇怪,我做的程序有时会有这种怪现象,就是ClassView里的类不知道为什么会不见了,
请高手解答,不知道是不是因为VC6.0本身的问题?

解决方案 »

  1.   

    delete *.clw ,and add all file into project again!
      

  2.   

    这是VC的一个Bug。
    你可以先关闭整个project,然后到文件夹中删除.clw文件,然后再次用VC打开project,之后
    重新build。
      

  3.   

    upstair upstair:not necessary!first close vc,,then move that .cpp and .h out of the project folderthen open vc,ctrl+W,find your class that lost,then remove,at last,add that two files in your project,Ctrl+w,restore clwover
      

  4.   

    first close vc,,??不用关好象也可以吧,只要你关了工程----project!:)关键还是删除*.clw文件。从新打开工程,
    再次使用classWizard  就会提示你缺少,需要重新生成*.clw
    接下来一路"Next"就可以了!