delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/21/02:51:33

X-Spam-Check-By: sourceware.org
From: Vadim Melihow <slon AT satgate DOT net>
To: cygwin AT cygwin DOT com
Subject: SetTimer Bug report
Date: Fri, 21 Apr 2006 10:35:22 +0400
User-Agent: KMail/1.8
MIME-Version: 1.0
Message-Id: <200604211035.22164.slon@satgate.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello.

It must be bug, But Im not sure...

In WinXP all works fine.. but then I use  Windows 2003 works strange with 
lastest version cygwin1.dll(file version 1.5.19-cr-0x5ef) but works fine with 
oldest verstion, like 1.5.18 from 2005.07.02.

Description:
When use SetTimer in Win2003 Application form freeze and do not redraw, but 
other program threads works fine.

I try set timer via two way.
SetTimer(hWnd, 1, 300, NULL);
and
SetTimer(NULL, 1, 300, (TIMERPROC) TimerProc);
and both way are not works.

void CALLBACK _export TimerProc(HWND hWnd, UINT msg, UINT idTimer, DWORD 
dwTime)
{
    RefreshProgressMeter();
    SetTooltipText(hWnd, 0);
}

then in TimerProc(or WM_TIMER processing) insert some function application 
freeze 

it look likes program starts ... and after 2-3 seconds freeze, but core 
threads are work..

I remind this bug I see only in Win2003 Server (WinXP and W2k works fine)

Sorry for my English... 

-- 
phone: +70112573077
e-mail: slon AT satgate DOT net

Vadim G. Melihow
SatGate LLC

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019