更新时间:2023-02-02 11:06:06
是的,你可以使用 Win32 API:
Yes, you can use the Win32 API:
DWORD WINAPI GetTickCount(void);
要在 VB6 中导入它,像这样声明它:
To import it in VB6 declare it like this:
Private Declare Function GetTickCount Lib "kernel32" () As Long
在操作之前和之后调用它,然后计算经过的时间差.
Call it before the operation and after and then calculate the difference in time passed.