Visual Studio 6 : jumping to a method
-
Hi again ! I'm using Visual Studio 6, and I have a problem with the editor that I never understood. When I'm in the .cpp file of a class and want to jump to a specific method, I use the listbox on the toolbar (this listbox is displaying all the methods of my class) and click on the one I want to jump to. But, for some methods, the editor is not able to reach it and I get this error message : 'Cannot find the definition for this function. Classview cannot find functions definitions until they are saved at least once.' Well, I did save them ! Some of the method of the class can be found, others cannot.... Any idea why and how to correct this problem ? Thanks ! Jerome
-
Hi again ! I'm using Visual Studio 6, and I have a problem with the editor that I never understood. When I'm in the .cpp file of a class and want to jump to a specific method, I use the listbox on the toolbar (this listbox is displaying all the methods of my class) and click on the one I want to jump to. But, for some methods, the editor is not able to reach it and I get this error message : 'Cannot find the definition for this function. Classview cannot find functions definitions until they are saved at least once.' Well, I did save them ! Some of the method of the class can be found, others cannot.... Any idea why and how to correct this problem ? Thanks ! Jerome
-
I think the ide havenot create browse file for workspace. rebuild it,and cover cursor on the mothed, press F12,you can reach to where it definited. dupengfei
I already tried what you said, but the problem remains ! Jerome
-
Hi again ! I'm using Visual Studio 6, and I have a problem with the editor that I never understood. When I'm in the .cpp file of a class and want to jump to a specific method, I use the listbox on the toolbar (this listbox is displaying all the methods of my class) and click on the one I want to jump to. But, for some methods, the editor is not able to reach it and I get this error message : 'Cannot find the definition for this function. Classview cannot find functions definitions until they are saved at least once.' Well, I did save them ! Some of the method of the class can be found, others cannot.... Any idea why and how to correct this problem ? Thanks ! Jerome
Hi Jerome, Sometimes the ClassWizard gets out of sync or corrupt for some reasons I don't know of. It's a common problem but the suggested solution is always the same: rebuilding the ClassWizard files. Simply delete your .clw and .opt files and bring up ClassWizard again and it should tell you "The ClassWizard database does not exist. Would you like to build it from your source files?". Answer "Yes" in that dialog and a new dialog appears where you can select additional files outside the project. The files in your project are already added but if you have external files that you want to add to your ClassWizard database you should add them through this dialog. Click "OK" and your problem should be gone. Hope this helps -- Rog