Hi All,
I encounterd a problem which i fail to find a solution. I am trying
to get the Class name from a TextPoint (the class name of the
function which the text point is located in) in VS C++.
This code works great in C#:
currentProjectItem.FileCodeModel.CodeElementFromPoint(textPoint,
vsCMElement.vsCMElementClass).Name
however, in Visual C++ -
currentProjectItem.FileCodeModel.CodeElementFromPoint(textPoint,
vsCMElement.vsCMElementClass) -- returns null
i am working with VS 2005.
Any suggestions?
Thanks in advance,
Avi Revivo
Nice Systems