Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WM_TIMER messages in a hidden window and locale

Status
Not open for further replies.

ferrari123

Programmer
Feb 9, 2003
22
0
0
IN
Hi ,

I have an application which traps WM_TIMER messages in a window. Command line version of it receives in the same hidden window. This command line version works fine with all the os but wipn XP . In windows Xp also it works fine for English Keyboard layot. The moment i try to add another locale and keyboard , these messages stop comming.
Same thing works fine with Win 2K.
Any idea about what is the connection between locale/kbd layout and WM_TIMER message ?


 
I believe you have problems with low priority of WM_TIMER and in some situation, when application process other messages, WM_TIMER never get processed. Use PeekMessage instead of GetMessage

Ion Filipski
1c.bmp
 
Check if on the XP machine you have the same msvcirt.dll as one on other machines.
You should have one with 6.1.8637.0 file version.
-obislavu-
 
hi ,

I checked both the above options. i.e. PeekMessage and msvcirt.dll. No luck.

msvcirt.dll has version 7.1.0. ( tried putting 6.1.8637.0 )
same effect.

Replaced GetMessage with PeekMessage : same behaviour.

:-(


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top