|
-
Nov 9th, 2011, 09:39 AM
#1
Thread Starter
PowerPoster
[vb6] - why i can't use the CreateTimerQueue() api function?
why i can't use the CreateTimerQueue() api function in activex control projects?
http://75.126.12.18/apidetail.asp?api_id=46
these problem is like creating threads in these projects
-
Nov 10th, 2011, 11:57 AM
#2
Re: [vb6] - why i can't use the CreateTimerQueue() api function?
I've not used that API before, but according to MSDN, the only requirement is that the system be Win2K or newer.
1. You'd first create a queue & the queue probably should only be created once in your ocx
2. To add/remove timers to/from the queue, you would use: CreateTimerQueueTimer & DeleteTimerQueueTimer
3. When the queue is no longer needed, remove it with DeleteTimerQueueEx. Deleting the queue will delete any remaining timers that may still be in the queue
-
Nov 10th, 2011, 12:32 PM
#3
Thread Starter
PowerPoster
Re: [vb6] - why i can't use the CreateTimerQueue() api function?
 Originally Posted by LaVolpe
I've not used that API before, but according to MSDN, the only requirement is that the system be Win2K or newer.
1. You'd first create a queue & the queue probably should only be created once in your ocx
2. To add/remove timers to/from the queue, you would use: CreateTimerQueueTimer & DeleteTimerQueueTimer
3. When the queue is no longer needed, remove it with DeleteTimerQueueEx. Deleting the queue will delete any remaining timers that may still be in the queue
my is XP
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
|