using LARGE_INTEGER gives me back error error C2679: '=' binary no operator found which takes a right-hand operand
- by rekotc
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)'