Hi,
I am having a little weird problem and I was wondering if somebody could shed a light on it. I have this piece of code:
Code:
UpdateButtons();
timer_enabled = true;
UpdateData(false);
m_nTimer = SetTimer(APP_TIMER_ID_SERIAL_CHECK_RECV, 200, NULL);
mode = 0;
m_LOPDRect.top = 366;
m_LOPDRect.bottom = m_LOPDRect.top + 73;
m_LOPDRect.left = 444;
m_LOPDRect.right = m_LOPDRect.left + 73;
m_LOPDPos.x = 459;
m_LOPDPos.y = 431;
LightOutPutValue = 255;
LcdBrightnessValue = 252; command.SetLightVane(255-LightOutPutValue);
It's found in the InitDialog of my program. When I run it in debug mode and I step through the code, it goes through all these lines but if I go to the release version and step through the code, the program skips the lines highlighted above. Can anybody explain why. Thanks
Amish