|
-
Jun 19th, 2000, 10:49 PM
#1
Thread Starter
Junior Member
I need to be able to return frames from the system time. There are 29.97 frames per second, for you guys who aren't into the video world. I don't expect to be able to get frames directly from the system time, but at least if I could get the current 1/100 of a second, or something like that, I could do a calculation. Does anybody know how to get this kind of accuracy from the system time? Maybe an API or something?
Thanks!
______
Bob K.
-
Jun 19th, 2000, 11:15 PM
#2
Thread Starter
Junior Member
Hey guys...
I found the answer. It's an API call called GetLocalTime. It returns the current date and time accurate to the millisecond (I hope, anyways!)
Thanks anyways.
______
Bob K.
-
Jun 19th, 2000, 11:19 PM
#3
Hyperactive Member
try this API call
Code:
Private Declare Function GetTickCount Lib "kernel32" () As Long
-
Jun 19th, 2000, 11:23 PM
#4
transcendental analytic
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
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
|