Skip to content

Building under Visual Studio Community #1

Description

@SoothingMist

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions