I don't know about C++ but i think it could be the old problem:
In the variable table you can find "Variable" objects AND "Dimension" objects, so if you find the object with the "Query" method, you have to declare the variable that receives the object as type "Object".
If the variable is type "Variable" you will not get Dimensions and viceversa.
In your case i think i would try revising the declaration of "pVar" if i could understand your example.
Posted by: Julian Guillo Post date: 1/11/2010 3:10:08 AM