Another, perhaps simpler solution would be to change your code as shown here in bold:
Code:
void PrintSystemUsage()
{
m_ListBoxResult.AddString("Crawling the Tree....");
strlineCount ="something";
m_ListBoxResult.AddString(strlineCount); 
m_ListBoxReslult.UpdateWindow(); 
}
Hope that helps.