Losing Classes in VC6
-
Does anyone else have the problem that every now and again VC6 loses one of your classes. I just deleted a function and the class has disapeared from the Workspace. Its still included as part of the project and compiles fine?!?! This has happened before and by removng and adding the files again it came back up but this isn't happening now!!! Asim Hussain e: asim@jawache.net w: www.jawache.net
-
Does anyone else have the problem that every now and again VC6 loses one of your classes. I just deleted a function and the class has disapeared from the Workspace. Its still included as part of the project and compiles fine?!?! This has happened before and by removng and adding the files again it came back up but this isn't happening now!!! Asim Hussain e: asim@jawache.net w: www.jawache.net
This happens every now and then. Normaly, I close the Workspace, exit the VC++-IDE and delete the *.ncd, *.opt and *.position files that sit in the same directory like my *.dsw. After a restart of the IDE all is fine again.
-
This happens every now and then. Normaly, I close the Workspace, exit the VC++-IDE and delete the *.ncd, *.opt and *.position files that sit in the same directory like my *.dsw. After a restart of the IDE all is fine again.
Yeah that got it. But you lose all the folders and organisation etc.... cheers Asim Hussain e: asim@jawache.net w: www.jawache.net
-
Yeah that got it. But you lose all the folders and organisation etc.... cheers Asim Hussain e: asim@jawache.net w: www.jawache.net
Jawache wrote: But you lose all the folders and organisation etc.... Huh? I still have my projects organisation, since that is contained in the *.dsp files. I never used the ClassViews context menu 'New Folder', but I always thought that it refers to actual filesystem-folders. Perhaps you can experiment with which of the files I mentioned really have to be deleted to help the IDE to recover?
-
Jawache wrote: But you lose all the folders and organisation etc.... Huh? I still have my projects organisation, since that is contained in the *.dsp files. I never used the ClassViews context menu 'New Folder', but I always thought that it refers to actual filesystem-folders. Perhaps you can experiment with which of the files I mentioned really have to be deleted to help the IDE to recover?
jhwurmbach wrote: I never used the ClassViews context menu 'New Folder', but I always thought that it refers to actual filesystem-folders. No its just some virtual folders to help you organise your classes. Thats all i lose, wasn't must trouble remaking them again though. jhwurmbach wrote: Perhaps you can experiment with which of the files I mentioned really have to be deleted to help the IDE to recover? Will do, the next time it f*cks up. Asim Hussain e: asim@jawache.net w: www.jawache.net
-
Does anyone else have the problem that every now and again VC6 loses one of your classes. I just deleted a function and the class has disapeared from the Workspace. Its still included as part of the project and compiles fine?!?! This has happened before and by removng and adding the files again it came back up but this isn't happening now!!! Asim Hussain e: asim@jawache.net w: www.jawache.net
-
jhwurmbach wrote: I never used the ClassViews context menu 'New Folder', but I always thought that it refers to actual filesystem-folders. No its just some virtual folders to help you organise your classes. Thats all i lose, wasn't must trouble remaking them again though. jhwurmbach wrote: Perhaps you can experiment with which of the files I mentioned really have to be deleted to help the IDE to recover? Will do, the next time it f*cks up. Asim Hussain e: asim@jawache.net w: www.jawache.net
there is a addin to VS6 that backups your virtual folders, after delete those files you can restore it with the same addin here :http://www.codeproject.com/macro/restoreclassviewaddin.asp[^] Casa.Sapo.pt
-
Jawache wrote: But you lose all the folders and organisation etc.... Huh? I still have my projects organisation, since that is contained in the *.dsp files. I never used the ClassViews context menu 'New Folder', but I always thought that it refers to actual filesystem-folders. Perhaps you can experiment with which of the files I mentioned really have to be deleted to help the IDE to recover?
Hi, It happened again and i experimented. All you need to do is remove the .ncb file and not the .opt or .position files. Asim Hussain e: asim@jawache.net w: www.jawache.net
-
This happens every now and then. Normaly, I close the Workspace, exit the VC++-IDE and delete the *.ncd, *.opt and *.position files that sit in the same directory like my *.dsw. After a restart of the IDE all is fine again.
If a class disappears from the workspace pane, there is a very simple solution: Go to FileView, open the header file, and add any character to the class-name. I usually use a white-space :) You might have to save the file. The classwizard will notice you made a change to the file, and updates the class (showing it again in the workspace pane)