文件名称:Timer(VB)
- 所属分类:
- 系统编程
- 资源属性:
- [Windows] [Visual C] [Basic/ASP] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 112kb
- 下载次数:
- 1次
- 提 供 者:
- 尹*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
精密定时器集合:VB版
■ SetTimer(多Timer):是使用SetTimer()和回调函数产生的Timer,与VB6中定时器控件效果一样,只是用API实现而已,不爱用控件的朋友可能会喜欢
■ Timer大比拼(CSDN):是CSDN网友提供的测试各种Timer的代码:QueryPerformanceCounte() 多媒体定时器;和VB6定时器控件。测试时,可以看到3种定时器的区别。多媒体定时器和QueryPerformanceCounte()都是较好的选择.
可惜多媒体定时器与VB6似乎不太和谐,如果在回调函数中出现代码,则极易崩溃,即使在IDE种运行正常,生成EXE后也会不稳定,没辙!
■ QTimer原始:是CSDN网友“嗷嗷叫的老马”的作品,使用QueryPerformanceCounter()制作的精密定时器,作者代码很具创造性而且精简。 但有个小问题:拖动鼠标时会停顿。
■ Active EXE_hTimer: 是在“QTimer原始”基础上改装的一个Active EXE, 拖动鼠标时不会停顿,不爽的是任务管理器进程中又多出了一个hTimer.exe。
■ mmTimer控件:是对多媒体定时器的包装,先用VC对多媒体定时器进行包装再提供给VB6使用,解决了VB6与多媒体定时器"不和谐"的问题。
不会停顿,进程中也不会出现"多余的" EXE, 推荐使用
Thinker2009
2009-07-04-This is a collection of VB timer, timer to achieve a variety of ways, there are ordinary, but also sophisticated, super-sophisticated, there are dll s ocx s, as well as the active exe, short will be able to find your favorite ...
■ SetTimer (Multi-Timer): is to use SetTimer () and have a callback function of the Timer, Timer control with VB6 in effect, the only API to achieve it, do not like to use controls may be like a friend
■ Timer Competition (CSDN): is provided CSDN User Timer test code: QueryPerformanceCounte () multimedia timer and VB6 timer control. Test, we can see the difference between three kinds of timers. Multimedia timer and QueryPerformanceCounte () are a better choice.
Unfortunately, multimedia timer does not seem in harmony with VB6, if there in the callback function in code, while easy to collapse, even in the IDE to run the normal species, after the EXE will be generated instability,没辙!
■ QTimer original: Yes CSDN netizen "Old嗷嗷called" the works,
■ SetTimer(多Timer):是使用SetTimer()和回调函数产生的Timer,与VB6中定时器控件效果一样,只是用API实现而已,不爱用控件的朋友可能会喜欢
■ Timer大比拼(CSDN):是CSDN网友提供的测试各种Timer的代码:QueryPerformanceCounte() 多媒体定时器;和VB6定时器控件。测试时,可以看到3种定时器的区别。多媒体定时器和QueryPerformanceCounte()都是较好的选择.
可惜多媒体定时器与VB6似乎不太和谐,如果在回调函数中出现代码,则极易崩溃,即使在IDE种运行正常,生成EXE后也会不稳定,没辙!
■ QTimer原始:是CSDN网友“嗷嗷叫的老马”的作品,使用QueryPerformanceCounter()制作的精密定时器,作者代码很具创造性而且精简。 但有个小问题:拖动鼠标时会停顿。
■ Active EXE_hTimer: 是在“QTimer原始”基础上改装的一个Active EXE, 拖动鼠标时不会停顿,不爽的是任务管理器进程中又多出了一个hTimer.exe。
■ mmTimer控件:是对多媒体定时器的包装,先用VC对多媒体定时器进行包装再提供给VB6使用,解决了VB6与多媒体定时器"不和谐"的问题。
不会停顿,进程中也不会出现"多余的" EXE, 推荐使用
Thinker2009
2009-07-04-This is a collection of VB timer, timer to achieve a variety of ways, there are ordinary, but also sophisticated, super-sophisticated, there are dll s ocx s, as well as the active exe, short will be able to find your favorite ...
■ SetTimer (Multi-Timer): is to use SetTimer () and have a callback function of the Timer, Timer control with VB6 in effect, the only API to achieve it, do not like to use controls may be like a friend
■ Timer Competition (CSDN): is provided CSDN User Timer test code: QueryPerformanceCounte () multimedia timer and VB6 timer control. Test, we can see the difference between three kinds of timers. Multimedia timer and QueryPerformanceCounte () are a better choice.
Unfortunately, multimedia timer does not seem in harmony with VB6, if there in the callback function in code, while easy to collapse, even in the IDE to run the normal species, after the EXE will be generated instability,没辙!
■ QTimer original: Yes CSDN netizen "Old嗷嗷called" the works,
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Active EXE_hTimer
.................\cSrvTimer.cls
.................\cTimer1.ctl
.................\cTimer1.ctx
.................\Form1.frm
.................\frmTimer.frm
.................\frmTimer.frx
.................\hTimer.exe
.................\hTimer.vbp
.................\hTimer.vbw
.................\srvTimer.cls
.................\Test_hTimer.exe
.................\Test_hTimer.vbp
.................\Test_hTimer.vbw
mmTimer控件
...........\frmMain.frm
...........\frmMain.log
...........\mduCallBack.bas
...........\mmtCTL.exp
...........\mmtCTL.lib
...........\mmtCTL.oca
...........\mmtCTL.ocx
...........\mmtCTL.vbp
...........\mmtCTL.vbw
...........\mmTimer.ctl
...........\mmTimer.ctx
...........\mmTimer.dll
...........\mmtTimer.ctx
...........\Readme.txt
...........\VB9ED.tmp
...........\工程1.exe
...........\工程1.vbp
...........\工程1.vbw
...........\组1.vbg
QTimer原始(嗷嗷叫的老马作品)
............................\default.exe
............................\Frm
............................\...\frmMain.frm
............................\readme.txt
............................\SuperTimer.vbp
............................\SuperTimer.vbw
SetTimer(多Timer)
.................\cTimer.cls
.................\cTimer.dll
.................\cTimer.exp
.................\cTimer.lib
.................\cTimer.vbp
.................\cTimer.vbw
.................\Form1.frm
.................\mduTimer.bas
.................\TestTimer.vbp
.................\TestTimer.vbw
.................\组1.vbg
Timer大比拼(CSDN)
.................\Form1.frm
.................\Form1.log
.................\Module1.bas
.................\工程1.exe
.................\工程1.vbp
.................\工程1.vbw
说明.txt
.................\cSrvTimer.cls
.................\cTimer1.ctl
.................\cTimer1.ctx
.................\Form1.frm
.................\frmTimer.frm
.................\frmTimer.frx
.................\hTimer.exe
.................\hTimer.vbp
.................\hTimer.vbw
.................\srvTimer.cls
.................\Test_hTimer.exe
.................\Test_hTimer.vbp
.................\Test_hTimer.vbw
mmTimer控件
...........\frmMain.frm
...........\frmMain.log
...........\mduCallBack.bas
...........\mmtCTL.exp
...........\mmtCTL.lib
...........\mmtCTL.oca
...........\mmtCTL.ocx
...........\mmtCTL.vbp
...........\mmtCTL.vbw
...........\mmTimer.ctl
...........\mmTimer.ctx
...........\mmTimer.dll
...........\mmtTimer.ctx
...........\Readme.txt
...........\VB9ED.tmp
...........\工程1.exe
...........\工程1.vbp
...........\工程1.vbw
...........\组1.vbg
QTimer原始(嗷嗷叫的老马作品)
............................\default.exe
............................\Frm
............................\...\frmMain.frm
............................\readme.txt
............................\SuperTimer.vbp
............................\SuperTimer.vbw
SetTimer(多Timer)
.................\cTimer.cls
.................\cTimer.dll
.................\cTimer.exp
.................\cTimer.lib
.................\cTimer.vbp
.................\cTimer.vbw
.................\Form1.frm
.................\mduTimer.bas
.................\TestTimer.vbp
.................\TestTimer.vbw
.................\组1.vbg
Timer大比拼(CSDN)
.................\Form1.frm
.................\Form1.log
.................\Module1.bas
.................\工程1.exe
.................\工程1.vbp
.................\工程1.vbw
说明.txt