Hello NG, I started to learn the basics of the C++ code model and am stuck with most VCCode* interfaces, especially VCCodeVariable. According to the MSDN, the following code should display all variables of the current solution: Sub GetAllVars() Dim vcCM As VCCodeModel Dim vcVar As VCCodeVariable vcCM = DTE.Solution.Item(1).CodeModel For Each vcVar in vcCM.Variables MsgBox(vcVar.DisplayName) Next End Sub But no matter which solution I have loaded, the array vcCM.Variables seems to be empty and no variable name is displayed. I even added some global variables to some projects, but still none of them is displayed. What is the problem...? Regards, Marc