visual-c++-2015 Questions

4

With Microsoft changing the pattern of registry entries in its latest versions, how do i detect if Visual C++ 2017 Redistributable is installed on a machine? My aim is to install VC++2015Redist si...

3

Solved

Steve tells me that VC 2015 and VC 2017 are actually (gonna be) binary compatible. I found zero info wrt. this in the release notes for 2017 (RC) - or pretty much anywhere for that matter, so here...

1

Solved

I have a simple one-member struct with deleted copy construction/assignment, and default move construction/assignment. I'm trying to pass one of these structs to a function by value and return the ...
Stock asked 1/11, 2018 at 15:9

2

Solved

template<typename ReturnT, typename... ParamT> void foo(std::function<ReturnT(ParamT...)> callback) {} template<typename ReturnT, typename ParamT> void bar(std::function<Retur...
Accuracy asked 17/10, 2018 at 8:19

2

Solved

Summary: What should I do to print correctly a string literal defined in the source code that was stored in UTF-8 encoding (Windows CP 65001) to a cmd console using std::cout stream? Motivation: I...
Nefertiti asked 1/9, 2015 at 11:55

1

Solved

I am getting a compilation error on this C++11 code but I dont know why. This is the code: #include <condition_variable> class NonCopiableClass { std::condition_variable condition_; }; st...
Conk asked 11/1, 2018 at 7:46

1

If i install just Visual C++ 2017 Redistributable on my machine, can it support applications that was written for 2015 in other words, if I uninstall Visual C++ 2015 Redistributable and install Vi...

2

Solved

This SO post: Is Visual-C++-2017 binary compatible with VC++-2015? clearly says that VS 2017 is binary compatible with VS 2015. It even looks like the official position. My question is, in the pas...

2

Solved

Using Visual Studio 2015 C++, 14.0.25431.01 Update 3. I have unexpected behavior in my code. Compile and run with 64bit, Release: #include <iostream> #include <stdint.h> int main(int,...
Doughman asked 28/2, 2017 at 14:33

1

A few days ago I've written something like the following: struct A { std::atomic_bool b = false; }; Compiled in Visual Studio 2015 Update 3 with its VC++2015 compiler, nothing wrong popped up. ...
Pipette asked 17/2, 2017 at 14:26

1

To repeat: I'm looking for ABI compatibility between libraries of the same Visual-C++ version! We want to mix and match some internal C++ DLLs from different teams - built at different times with ...
Epicedium asked 21/10, 2016 at 14:10

1

Solved

Consider the following code: #include <cstddef> class A { public: struct B { int M; }; static void StaticFunc(); }; void A::StaticFunc() { const std::size_t s0 = sizeof(::A::B::M); ...
Takeover asked 3/10, 2016 at 13:8

1

Solved

I have been using the FormatMessage function within the Windows API to generate message strings from system error codes. I noticed that for some error codes the full message doesn't appear to be cr...
Tasty asked 3/6, 2016 at 11:30

2

Solved

I'm trying to update some "legacy" code to comply with the latest security updates to MSVC, and am facing some trouble migrating from _vsnprintf to _vsnprintf_s. In particular, I was calling _vsnp...
Dynamism asked 23/3, 2016 at 22:16
1

© 2022 - 2024 — McMap. All rights reserved.