![]() |
eXeL@B —› Вопросы новичков —› Помогите с грамотной установкой breack pointa |
Посл.ответ | Сообщение |
|
Создано: 15 августа 2006 00:07 · Личное сообщение · #1 Привет! Есть программа которая полноценно работает и является бесплатной. Задача состоит в том, что мне необходимо исследовать ее работу в определенный момент. Подробнее: Есть небольшой диалог на котором есть кнопка. При клике по этой кнопке по логике программа делает запрос серверу по протоколу HTTPS-SSL. Получив ответ программа начинает обратный отсчет который длится 5 секунд. Основная задача состоит в определении источника этих 5 секунд обратного отсчета. Моя задача увеличить это время или узнать как оно задано в самой программе или этот отсчет связан с обменом через интернет? Прога написана на С++ 6.0. Посоветуйте на что ставить бряки и как ловить этот осчет. С уважением, Владимир. ![]() |
|
Создано: 15 августа 2006 09:18 · Личное сообщение · #2 prog пишет: Посоветуйте на что ставить бряки и как ловить этот осчет. Начни с SetTimer: The SetTimer function creates a timer with the specified time-out value. UINT SetTimer( HWND hWnd, // handle of window for timer messages UINT nIDEvent, // timer identifier UINT uElapse, // time-out value TIMERPROC lpTimerFunc // address of timer procedure ); Parameters hWnd Identifies the window to be associated with the timer. This window must be owned by the calling thread. If this parameter is NULL, no window is associated with the timer and the nIDEvent parameter is ignored. nIDEvent Specifies a nonzero timer identifier. If the hWnd parameter is NULL, this parameter is ignored. uElapse Specifies the time-out value, in milliseconds. lpTimerFunc Points to the function to be notified when the time-out value elapses. For more information about the function, see TimerProc. If lpTimerFunc is NULL, the system posts a WM_TIMER message to the application queue. The hwnd member of the message's MSG structure contains the value of the hWnd parameter. Return Values If the function succeeds, the return value is an integer identifying the new timer. An application can pass this value, or the string identifier, if it exists, to the KillTimer function to destroy the timer. If the function fails to create a timer, the return value is zero. PS Скачай себе справочник по API, легче будет в поисках... ----- Сколько ни наталкивали на мысль – все равно сумел увернуться ![]() |
![]() |
eXeL@B —› Вопросы новичков —› Помогите с грамотной установкой breack pointa |