• Advertisement

Archived

This topic is now archived and is closed to further replies.

What is the simplest way to get system loading performance?

This topic is 5790 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, what is the easiest way to get the system loading by C++? It would be great for me if MFC is not a must when doing this. is there any example or source code available? Thanks a lot!

Share this post


Link to post
Share on other sites
Advertisement
anything done with mfc can be duplicated using the win32 api since mfc is merely a framework using the win32 api.

Share this post


Link to post
Share on other sites
Has anyone ever had the problem of performance queries failing during the call to pdhAddCounter() with C0000BDB? This error code seems to be undefined everywhere I look and the code almost always works. Just when it goes bad on a machine, it goes bad everytime, almost like the pdh libs were getting corrupted or something....

Share this post


Link to post
Share on other sites

  • Advertisement