Author: wxlran Man learning VC encountered a depressing thing I make rookie, finishing the DD ◎ VC tool used to share problems when editing variables and functions do not show tips? Usually the object is entered, press "." The prompt will appear, the function is pressed "(" there will be a parameter prompt. If there is no prompt, it is stupid to the rookie. What should I do? Close the project, go to the project Delete the × × .ncb file in the directory, then turn it back to OK :) For another two: Sometimes it encounters the addition of delete classes, causing confusion, Class Wizard, can also remove × × .clw (this file is actually It is in the ini format, can be modified manually, I am not a master, not directly modifying it directly), will rebuild this file when compiling. Add the header file to the pre-translated head file stdafx.h but compile? Because the pre-translated head file is only compiled once, although it is updated, it is no longer compiled, so you can't find the new header file, you can use the menu command to clean the debuild, or remove the compile STDAFX.CPP The generated × .pch file is recompiled. ◎ Release and Debug Different: Release and Debug Different DLL libraries of the DEBUG, Release link is standard MFC DLL (Shared or Static), such as MFC42.DLL, these DLLs will be installed when installing Windows In the system,, the Release version of Exe can also be run on a system where the VC is installed, and the debug's EXE link is a debug version of the MFC DLL, such as MFC42D.dll, which will be lacking on the system where the VC is installed. MFC42D.DLL cannot be run unless STATIC DLL WHEN LINK is selected, just like this EXE is large, or the dynamic library of × D.dll ends to the system directory. ◎ How to test the resource to be used in another project in an engineering test? If you want to copy A project dialog box to the B project, the operation is followed by the A project: File - "Open -" Select Open File " B.RC "Selects the resource list of B project in the right side of the A workspace. Select the dialog resource you want to copy, Ctrl C under the A workspace's resource at the A workspace, select the Dialog directory (or resource main directory) , Ctrl V will complete the pull :) ◎ How does two classes are not wrong? Class B; Class A {B * m_PB;} Class B {a a;} The key is to declare in advance when not compiling, and can only declare the pointers or references in the definition. I encountered the first case (often encountered), I found that the class name where the code is being written is invisible at the ClassView window. At this time, switch to FileView, find the header file you are in the code you are writing, go in, just moving, this class is in the classview, the prompt function is normal. I am solved like this! When I have finished the "function name (", there will be parameter prompts, sometimes this function is about half, move the cursor to the other places again, and the prompt is gone, to be re-functions After the name is entered "(" will only prompt. When the cursor moves back the parameters of the function, press CTRL Shift Space to have a prompt.