4,069 questions with Developer technologies | C++ tags

Sort by: Updated
0 answers

Why is my new executable being flagged as the trojan type Wacatac:B!ml?

I made a new executable through CPP source code and compiled it with an app icon, and made it play music as well, then decided to analyze it with VirusTotal. But 4 SECURITY VENDORS flagged it as a trojan, INCLUDING MICROSOFT. Please remove the WACATAC…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-06-20T18:33:09.15+00:00
commented 2026-06-20T19:57:37.88+00:00
0 answers

Foundry Local WinRT/C++ support

Hello, we would like to know if you intend to add support to C++ native applications for FoundryLocal in a near future, as a WinRT/C++ Package Nuget for instance ? Unfortunately, we cannot use Microsoft.Windows.AI which is available in WinRT/C++ because…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-06-20T08:56:01.7366667+00:00
Jacques Quidu 0 Reputation points
0 answers

SCardTransmit with AID of U2F failing

Hello Windows Experts, I am using the SCardTransmit function from winscard.h to send APDUs to my U2F Device. The Device is connected via NFC with a Sony RC-S380 Reader. Selecting an arbitrary applet works normally. Except with the single required…

Windows development | Windows API - Win32
Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2021-04-30T15:52:12.643+00:00
Tom 1 Reputation point
commented 2026-06-20T03:50:07.4633333+00:00
Aditya Mitra 0 Reputation points
2 answers

C++ max function

Not sure about this one, Virtual Studio: Works: max({SPANX,SPANY,SPANZ}); Does not work: max(SPANX,SPANY,SPANZ);, generates a "build" error Why does one need the delimiters ({ )}; ?? Sid Kraft

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-06-13T13:49:06.2166667+00:00
Sid Kraft 46 Reputation points
commented 2026-06-18T09:55:28.2333333+00:00
Taki Ly (WICLOUD CORPORATION) 2,225 Reputation points Microsoft External Staff Moderator
1 answer

Latest Supported Visual C++ redistributable download appears to be the wrong version

I just download the latest supported x64 VC++ redistributable from Latest supported redistributable version and upon examining the properties it appears that instead of the redistributable for 2017-2026 the downloaded file was for 2015-2022. Same issue…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-06-02T09:07:21.5933333+00:00
RLWA32 52,571 Reputation points
commented 2026-06-11T07:45:22.9933333+00:00
RLWA32 52,571 Reputation points
2 answers

Rich edit control that displays emojis with color.

Please only answer if you are in Microsoft since part of this question regards right to distribute a DLL. This regards a C/C++program I wrote. I created a rich edit control using CreateWindowEx and subclassed the edit control. I used msftedit.dll. I…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-06-04T05:08:28.99+00:00
technoway 241 Reputation points
commented 2026-06-11T07:40:24.28+00:00
Taki Ly (WICLOUD CORPORATION) 2,225 Reputation points Microsoft External Staff Moderator
3 answers

Static initialization of thread_local variable with heap-allocating constructor crashes program

I noticed that the following static variable in my C++ code caused my program to stop working (crash / exception at startup): static thread_local std::unordered_map<std::string, int> myMap; Debugging the issue, an exception was raised while the…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-05-29T09:08:43.94+00:00
Marco Fischer 0 Reputation points
commented 2026-06-04T16:04:25.33+00:00
Darran Rowe 2,616 Reputation points
3 answers

C++ Vectors

In C++ why am I getting an error on this statement? CHMID1[I] = PT1[I] + (CHORD1 * VEC1[I]) / 2.; CHMID1[I] a float vector PT1[I] a float vector CHORD1 a float variable VEC1[I] a float vector system says = not a valid operator???

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-05-26T20:32:32.23+00:00
Sid Kraft 46 Reputation points
commented 2026-06-03T07:00:01.5266667+00:00
Jack Dang (WICLOUD CORPORATION) 18,970 Reputation points Microsoft External Staff Moderator
2 answers

equal operator C++

have a C++ program, trying to assign a vector variable to a complex equation: chm[i] = vec1[i] + (float cmid * vec2[i])/2.; i from 1 to 3 compiler generates an error that says "cannot find = operator to assign value define…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-05-25T13:48:26.4533333+00:00
Sid Kraft 46 Reputation points
commented 2026-06-02T09:37:27.75+00:00
Taki Ly (WICLOUD CORPORATION) 2,225 Reputation points Microsoft External Staff Moderator
2 answers

C++ errors

Using Visual Studio, C++, is there a way to turn off the error reporting that is generated by "co-pilot", very irritating as every statement that is issued automatically generates suggested error or fixes while entering! "clutters up"…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-05-25T13:59:32.98+00:00
Sid Kraft 46 Reputation points
commented 2026-06-02T07:21:50.49+00:00
Jack Dang (WICLOUD CORPORATION) 18,970 Reputation points Microsoft External Staff Moderator
2 answers

Questions regarding Windows driver signing

Hello Microsoft Support, We are in the early planning phase for a new Windows driver and want to make sure we understand the official release process for Windows Endpoints and Servers. Could you please clarify a few basic points for us? Certificates:…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-05-21T12:31:37.2966667+00:00
Nikhil Raj 0 Reputation points
commented 2026-06-01T09:37:52.3266667+00:00
Taki Ly (WICLOUD CORPORATION) 2,225 Reputation points Microsoft External Staff Moderator
2 answers

C++ Vectors

This is maddening, went to great lengths to make sure that the statements on either side of the = operator of the same type, still get a compiler error I = 0; do { float CH1 = PT1[I]; float CH2 = PT2[I]; float CH3 = PT3[I]; float…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-05-26T21:02:14.4333333+00:00
Sid Kraft 46 Reputation points
commented 2026-06-01T04:48:24.69+00:00
Nancy Vo (WICLOUD CORPORATION) 6,110 Reputation points Microsoft External Staff Moderator
1 answer

Trying to download Microsoft visual C++ and not having Additional runtime

I have tried uninstalling it and everything that people say to do and every time I go to install Microsoft Visual C++ 2022 64x it says that the feature you are are trying to use is unavailable and its trying to find a folder with…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-05-19T16:15:02.95+00:00
Buddy Walden 5 Reputation points
commented 2026-05-27T04:30:38.08+00:00
Taki Ly (WICLOUD CORPORATION) 2,225 Reputation points Microsoft External Staff Moderator
2 answers

C++ Cross Product Function

Have the function below in Visual Studio, C++. The function does a cross product for a vector VEC1,Vec2,Vec3. When I call the function as "crossproductVector(Vec1,Vec2,Vec3)" the value returned for Vec3 has zero components even though the…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-05-16T17:03:17.89+00:00
Sid Kraft 46 Reputation points
commented 2026-05-25T08:57:57.34+00:00
Danny Nguyen (WICLOUD CORPORATION) 7,185 Reputation points Microsoft External Staff Moderator
3 answers

C++ Function Return With Reference

Have a function that I call with the variable references below. Was told that when I call, can change the values back to the original call if the variables are "reference" &A, &B. However, the system does not allow one to do, I.E. as…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-05-16T18:06:33.61+00:00
Sid Kraft 46 Reputation points
commented 2026-05-25T07:12:27.4933333+00:00
Jack Dang (WICLOUD CORPORATION) 18,970 Reputation points Microsoft External Staff Moderator
2 answers

C++ Argument Return

Have a function in C++ with three input arguments. When I call the function with three arguments, I return the 3 argument values in the function but it does not return into the original arguments used in the function call sequence. Example: float…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-05-14T00:19:34.9433333+00:00
Sid Kraft 46 Reputation points
commented 2026-05-21T09:14:11.1466667+00:00
Jack Dang (WICLOUD CORPORATION) 18,970 Reputation points Microsoft External Staff Moderator
0 answers

How to dock a CDockablePane to another floating CDockablePane in MFC?

Hi, I'm working on an MFC application using the MFC App Wizard (VS-generated template with docking panes), and I'm trying to float the Class View pane and then dock the File View pane into that floating Class View pane. Here's what I currently have…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2025-06-02T08:19:06.3133333+00:00
petyer 0 Reputation points
edited a comment 2026-05-20T09:33:47.5933333+00:00
Thomas Wagner 5 Reputation points
2 answers One of the answers was accepted by the question author.

Error: -1073741813 [ C0000005 - access violation exception ], when running a custom C++ application

Hi Microsoft team, I am new to C++ and have never experienced this issue before, I am following the Sektor 7 courses, and whilst trying to accomplish one of the coding tasks, I have come across this issue - Error: -1073741813, If it helps - the…

Developer technologies | Visual Studio | Debugging
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

5,775 questions
asked 2023-07-13T08:46:12.2666667+00:00
Joseph RW 105 Reputation points
edited a comment 2026-05-19T20:39:23.7133333+00:00
abaha james 0 Reputation points
3 answers

how to download c++ 2019

how to download c++ 2019 in this page;how to download c++ 2019 in this page;how to download c++ 2019 in this page

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-05-09T07:35:41.5833333+00:00
wenlei ji 0 Reputation points
commented 2026-05-18T09:33:17.28+00:00
Taki Ly (WICLOUD CORPORATION) 2,225 Reputation points Microsoft External Staff Moderator
2 answers

Error with compiler

PS C:\Users\Prabh\OneDrive\Documents\Prabhjoat University\programming\Microsoft C++ Course> cd "c:\Users\Prabh\OneDrive\Documents\Prabhjoat University\programming\Microsoft C++ Course" ; if ($?) { g++ hello_world.cpp -o hello_world } ; if…

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

4,069 questions
asked 2026-05-04T17:12:47.3233333+00:00
Prabhjoat Riyat 0 Reputation points
commented 2026-05-12T10:33:31.5533333+00:00
Taki Ly (WICLOUD CORPORATION) 2,225 Reputation points Microsoft External Staff Moderator