[an error occurred while processing this directive]
|
HINSTANCE llhdr=NULL;
BOOL (__stdcall *_QueryPerformanceCounter)(LARGE_INTEGER*);
BOOL (__stdcall *_QueryPerformanceFrequency)(LARGE_INTEGER*);
llhdr=LoadLibrary("kernel32");
_QueryPerformanceCounter=(BOOL (__stdcall *)(LARGE_INTEGER*))GetProcAddress(llhdr,"QueryPerformanceCounter");
_QueryPerformanceFrequency=(BOOL (__stdcall *)(LARGE_INTEGER*))GetProcAddress(llhdr,"QueryPerformanceFrequency");
LARGE_INTEGER f;
LARGE_INTEGER c;
(*_QueryPerformanceFrequency)(&f);
(*_QueryPerformanceCounter)(&c);
E-mail: info@telesys.ru