How do I resolve an Object not found error for the MSAS 2008:Memory object?
<p>I created a sample program in that I have written code to get details of particular performance objects Using PDH library function in native C++. However, I am getting error as "Object not found" for "MSAS 2008:Memory" object:</p>

<blockquote>
  <p>PDH function PdhEnumObjectItems() is not able to find Object information of "MSAS 2008:Memory" object</p>
</blockquote>

<p>I checked that object in perfmon tool, and it is there.</p>

<p>Also I tried one <a href="http://msdn.microsoft.com/en-us/library/aa371886%28v=vs.85%29.aspx" rel="nofollow">MSDN sample program</a>, but this program is also not able to show "MSAS 2008:Memory" object.</p>
