For some reason the function wsprintfW cannot be found and causes a link error when using the Naett library for a Windows Qt app. The function is used here:
|
wsprintfW(contentLengthHeader, L"Content-Length: %d", contentLength); |
and of course in the amalgamation. The fix is to use the standard function swprintf and change the line of code to:
swprintf(contentLengthHeader, 64, L"Content-Length: %d", contentLength);