DirectDraw timer (queryperformancecounter) type "hyper"

Thanks to ROCK for identifying the preferred timer for

DirectDraw ( use QueryPerformanceFrequency followed

by QueryPerformanceCounter) - this will use your

real time clock (if you have a pentium-class or above).

The type of parameter is a 64-bit integer typedef'd as

LARGE_INTEGER, which is based on a LONGLONG,

which is typeded'f as " hyper ". I cannot find any reference

to the type " hyper " in the entire win32api (please tell me

where if you find it), and I can't seem to find any fundamental

math functions for LARGE_INTEGER. Anyone know

where to find a package that has the basic arithmetic

worked out for these 64-bit integers? You can't even

send these values to COUT<< because the overload<br>
<< is not defined for LARGE_INTEGER. If there is no<br>
such package, then I will have to struggle to code it

up myself - help, help, help.

Jerry Burnett alcman@neto.com


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories