using LARGE_INTEGER gives me back error error C2679: '=' binary no operator found which takes a right-hand operand
Posted
by
rekotc
on Stack Overflow
See other posts from Stack Overflow
or by rekotc
Published on 2012-04-15T17:24:51Z
Indexed on
2012/04/15
17:29 UTC
Read the original article
Hit count: 221
c++
i have the following code:
QueryPerformanceCounter(&timeStart);
winMain::render(); //do stuff
QueryPerformanceCounter(&timeEnd);
numCounts = ( timeEnd.QuadPart - timeStart.QuadPart);
All the 3 variables are declared as LARGE_INTEGER, the code should work since im following a book example, but i get:
error C2679: '=' binary no operator found which takes a right-hand operand of type LONGLONG it might be '_LARGE_INTEGER &_LARGE_INTEGER::operator =(const _LARGE_INTEGER &)' 1> durante la ricerca di corrispondenza con l'elenco di argomenti '(LARGE_INTEGER, LONGLONG)'
© Stack Overflow or respective owner