int j; for(float i=0;i<1526974569745878;i++) { SUM=SUM+i+j; j++; }
NOTE:<br /> 1)"1526974569745878" not constant may change time to time.<br /> 2)I implemented this by using OnTimer() message handler but not working.<br /> Once execution enter in loop OnTimer() function is not called.<br />
m_progressInit.SetRange32( 0, PROGRESS_BAR_RANGE ); // PROGRESS_BAR_RANGE (Any Integer value) if(i%1000 == 0) { if(m_progressInit.GetPos() < PROGRESS_BAR_RANGE) { m_progressInit.StepIt( ); } else m_progressInit.SetPos(0); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)