none
How to reduce the CPU Usage? RRS feed

  • Question

  • I had a BHO developed in c#. It gets injected in IE.

    whenever a page is opened I want to change the text displayed on screen. For this, through BHO,

     

    ProgressChange Event gets fired (nearly 3 – 4 times) => Foreach loop (checks each HTML Element of the web page) =>CPU Usage increases.

     

    How to reduce CPU usage?
    SVT Gdwl
    Thursday, July 9, 2009 11:43 AM

All replies

  • Skip checking if the PerformanceCounter indicates the CPU load is high.

    Please mark the post answered your question as the answer, and click the chartreuse pyramid floating over nothingness/null to mark other helpful posts as helpful. This posting is provided "AS IS" with no warranties, and confers no rights.
    Visual C++ MVP
    Thursday, July 9, 2009 5:10 PM