Goblenus/WinHttpClient

Building under Visual Studio Community

Opened this issue · 0 comments

Working with the latest version of Visual Studio Community. As language standards evolve older codes may well cease to build without warnings or errors. In this code, I made the following modifications:

WinHttpClient.h: Line 22, Changed static wchar_t *SZ_AGENT = L"WinHttpClient"; to
static wchar_t SZ_AGENT[] = L"WinHttpClient";

StringProcess.h: Added the following lines to the top for the given reasons,

// Ignore conversion warnings, size_t to int.
// Allows existing code to build without warnings or modifications.
// Application is assumed to be such that loss of data would not occur.
#pragma warning(disable: 4267)