|
-
Nov 7th, 2008, 09:43 AM
#1
Thread Starter
New Member
SystemTimer - SetTimer fails
Hi All,
I have a VB code in which System Timer (see below ) is used.
Declare Function SetTimer Lib "user32" (ByVal hWnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerProc As Long) As Long
The program scans a table for a specific interval and once scan is complete. It sets the timer using SetTimer function. and after the specified seconds , it triggers the event again.
The code works fine , but some times the timer is being set correctly , but after the specific time period the event is not getting triggered.
And it looks like application hangs.
Is there any known problem with the system timer ? If so , what's the alternative way ..
Thanks in advance in
JK
Last edited by jkcool; Nov 7th, 2008 at 09:44 AM.
Reason: title was incorrect
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|