Threepwood
8th February 2011, 10:23
Hi,
I use GetFileSizeEx since it seems to work faster than working with QFileInfo.
Now I wanted to use it inside a new class I added, and QT creator tells me "GetFileSizeEx was not declared in this scope".
I copied ALL header Files that are included in the class that works fine, but the problem still consist.
Other function calls like FindFirstFileW and CreateFileW wont raise an error.
Qt Creator even shows me the prototype of the function in a Tooltip "BOOL GetFileSizeEx(HANDLE, PLARGE_INTEGER)"
What am i doing wrong?
I use GetFileSizeEx since it seems to work faster than working with QFileInfo.
Now I wanted to use it inside a new class I added, and QT creator tells me "GetFileSizeEx was not declared in this scope".
I copied ALL header Files that are included in the class that works fine, but the problem still consist.
Other function calls like FindFirstFileW and CreateFileW wont raise an error.
Qt Creator even shows me the prototype of the function in a Tooltip "BOOL GetFileSizeEx(HANDLE, PLARGE_INTEGER)"
What am i doing wrong?