get project full name
ATL / WTL / STL
1
Posts
1
Posters
0
Views
1
Watching
-
hi, im trying to get the project's full name by iterating the projects array.
EnvDTE::Projects *l_pProjects; l_pSolution->get_Projects(&l_pProjects); long *l_Count = new long; l_pProjects->get_Count(l_Count); for(long l = 0; l < *l_Count; l++) { EnvDTE::Project *l_pPrj; VARIANT v; v.lVal = 0; l_pProjects->Item(v,&l_pPrj); BSTR fullname; l_pPrj->get_FullName(&fullname); // PROBLEM! }
the problem is where the comment "// PROBLEM!" is. it just won't work? what am i doing wrong?