Subj : SetTimer function To : borland.public.cpp.borlandcpp From : "Andre Letourneau" Date : Mon Oct 13 2003 09:22 am Hi, I am trying to setup a timer in a DLL and it seemed to be called only once, How can I make it repetitive. //-------------------------------------------------------------------------- ---- int CALLBACK TVtr :: Timer1Timer ( ) { MessageBeep ( MB_OK ); return 0; } //-------------------------------------------------------------------------- ---- void TVtr :: StartTimer ( ) { TimerNbr = SetTimer ( Vtr , 10 , 1000 , (TIMERPROC) Timer1Timer ( ) ); return; } //-------------------------------------------------------------------------- ---- I'm using Borland C++ Builder 6 Thank you very much... Andre. .