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

Sort by: Updated
1 answer

How can I automatically convert Visual Studio .coverage files to XML or Cobertura format for use in CI pipelines?

Hi, I’m working on C++ projects with Visual Studio Enterprise and I can generate .coverage files for code coverage. However, I need to automatically convert these .coverage files to XML (preferably Cobertura) or HTML formats in my CI/CD pipeline, so that…

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,016 questions
asked 2025-09-22T12:06:49.26+00:00
Fatma-3378 0 Reputation points
commented 2025-10-24T11:30:25.9733333+00:00
Fatma-3378 0 Reputation points
1 answer

How to configure CMake toolchain and CMakePresets.json file for developing Arduino projects in Visual Studio 2022 IDE

Hello! I'am trying to configure my Arduino project in Visual Studio 2022 IDE. Subject: IntelliSense shows incorrect data model for AVR (2-byte int and pointer). Environment Visual Studio 2022 (version 17.14.16) CMake with custom AVR toolchain Arduino…

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,016 questions
asked 2025-10-11T18:57:08.7566667+00:00
Konstantin Bryukhanov 0 Reputation points
commented 2025-10-23T12:31:03.1866667+00:00
Varsha Dundigalla(INFOSYS LIMITED) 2,700 Reputation points Microsoft External Staff
1 answer

vs_isoshell 2015 install fail

I'm currently trying to install a specific program (Microchip Studio), but during the vs_isoshell installation, the program logo appears and repeatedly runs. I'd like to know a solution. (It seems that vs iso shell installation is required to install…

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,016 questions
asked 2025-10-23T01:10:49.3766667+00:00
soo 0 Reputation points
edited an answer 2025-10-23T04:16:42.98+00:00
Omkara Varshitha Kunapalli (INFOSYS LIMITED) 1,350 Reputation points Microsoft External Staff
1 answer

A multiline Edit Box in C++/MFC/Win32 desktop application has "ghost" text since Win11 25H2 was installed

A CPropertySheet dialog in our C++/MFC/Win32 desktop application is showing "ghost" text overwriting a multiline edit box since updating Windows 11 to 25H2. This was first seen by a client but we have replicated internally on multiple…

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,016 questions
asked 2025-10-22T09:25:22.95+00:00
David McKay 21 Reputation points
commented 2025-10-22T18:37:27.4566667+00:00
Viorel 124.9K Reputation points
1 answer

combability of Windows 12 with Microsoft Visual C++ 2022 Redistributable (x64) - 14.30.30708

IS Microsoft Visual C++ 2022 Redistributable (x64) - 14.30.30708 compatible with Windows 12?

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,016 questions
asked 2025-10-10T21:33:56.91+00:00
Santiago Membia Esono Abuy 0 Reputation points
commented 2025-10-22T04:29:11.11+00:00
Susmitha T (INFOSYS LIMITED) 755 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

LoadImage is not working with MAKEINTRESOURCE

Hello there! I am trying to load an image from the resources here's my code which is not working: the resource.h: #define IDB_BITMAP1 103 the main source code: HANDLE start_img = LoadImage(NULL, MAKEINTRESOURCE(103),…

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,016 questions
asked 2022-02-13T06:55:03.32+00:00
Saif Resun 46 Reputation points
commented 2025-10-20T18:36:18.73+00:00
Jefferson D. Viana 0 Reputation points
7 answers

How do you use RAG in the REST API with GPT-5?

I have added an Azure Search Service index with the options for semantic configuration and a Vector Profile. When I execute the following REST request. The following error is raised. Does anyone have some insight into this result? [Error Message] An…

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,016 questions
asked 2025-09-28T15:55:50.0566667+00:00
Ronald Wyman 76 Reputation points
edited an answer 2025-10-16T13:54:31.16+00:00
Ronald Wyman 76 Reputation points
1 answer One of the answers was accepted by the question author.

Concept - List, matrix problem

I have a process with two lanes. One input is supplied by the panel. Sometimes lane 1 is faster, sometimes slower, this is controlled by the PLC. How can I replicate this process exactly? Each panel must know which lane it was produced from. Do I need a…

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,016 questions
asked 2025-09-30T08:47:36.2033333+00:00
Noah Aas 1,110 Reputation points
commented 2025-10-14T14:27:18.43+00:00
Noah Aas 1,110 Reputation points
1 answer One of the answers was accepted by the question author.

IntelliSense doesn't work properly with MSVC standard library and clang-cl compiler

I'm trying to get clang-cl (the compiler I installed via Visual Studio Installer) and IntelliSense to work together. Simple 'Hello world' by C++23 std::println does build and run nicely (even macro __cplusplus is equal to 202302 which indicates that 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,016 questions
asked 2025-10-11T04:24:39.1533333+00:00
Misha Kobzar 20 Reputation points
accepted 2025-10-14T13:14:01.2633333+00:00
Misha Kobzar 20 Reputation points
3 answers One of the answers was accepted by the question author.

How to associate a certain file type for my application?

Hi, I have an application that is being purely written in C++ and I want to associate a file type of a certain extension like ('.xyz'). Requirement is that if I double click on a '.xyz' file if my application is available, it should launch my…

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,016 questions
asked 2023-12-14T11:15:46.3766667+00:00
Rohan Pande 445 Reputation points
answered 2025-10-14T13:10:12.3433333+00:00
Sal 0 Reputation points
1 answer One of the answers was accepted by the question author.

Why no .lib file when creating a Dynamic Link Library? Is there supposed to be one?

I created a project (Dynamic Link Library (dll)), and added a reference to it in my main project. I am getting an error: cannot open file 'DummyModule.lib' I did build the project, but there is no file 'DummyModule.lib' anywhere on my computer. There…

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,016 questions
asked 2025-10-13T19:26:14.9066667+00:00
CDev-8220 470 Reputation points
accepted 2025-10-13T21:46:20.02+00:00
CDev-8220 470 Reputation points
0 answers

My function has passed unit test, but it writes wrong results sometimes.

My function has passed unit test, but it writes wrong results sometimes. What’s wrong? When I test the function, the actual result is equal to expected result. But it writes a different result in the release version of my project. Strange!

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,016 questions
asked 2025-10-11T09:18:16.3266667+00:00
Jiaxin Zhang 60 Reputation points
commented 2025-10-13T09:28:40.71+00:00
Darran Rowe 2,451 Reputation points
0 answers

Using an application manifest to disable window theming

According to application-manifests the disableTheming element is available. I added the necessary xml to my application manifest for a Win32 desktop application but it seems that disableTheming is ignored by the system. The xml that was added to the…

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,016 questions
asked 2021-08-06T16:09:04.423+00:00
RLWA32 50,826 Reputation points
commented 2025-10-06T19:57:01.4733333+00:00
Darran Rowe 2,451 Reputation points
1 answer

Create a wxWidgets solution

Windows 11, VS 2019, C++, wxWidgets 3.2.0 But first: When I click Ask a Question, there are no options to select the forum to post in. How do I do that with these relatively new MS forums? Summary The goal is just to get a wxWidgets project…

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,016 questions
asked 2022-07-21T15:37:26.257+00:00
Bryan Kelly 521 Reputation points
answered 2025-10-10T09:10:04.1333333+00:00
Charles Gilley 0 Reputation points
1 answer

How to install Microsoft Visual Redistributable package C++ 2019 for VirtualBox 7.2.0

I need Microsoft Visual C++ Redistributable package to install VirtualBox 7.2.0

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,016 questions
asked 2025-09-14T14:04:23.7033333+00:00
Ibrahim Kanneh 10 Reputation points
commented 2025-09-25T09:49:30.0666667+00:00
Gade Harika (INFOSYS LIMITED) 1,185 Reputation points Microsoft External Staff
3 answers

Microsoft Visual C++ isuses

Hi, I keep getting warnings saying the following: Microsoft Visual C++ Runtime Library Assertion failed! Program ...\node-vulcan\build\release\vulcan messageLib node File:C\bldworkspace\CCX-process\release...\vulcan…

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,016 questions
asked 2025-09-22T12:56:32.3133333+00:00
Geoff Rennison 0 Reputation points
commented 2025-10-08T03:45:57.9633333+00:00
Varsha Dundigalla(INFOSYS LIMITED) 2,700 Reputation points Microsoft External Staff
0 answers

How to log in visual studio 2022.17.0.23

No issues to use the latest Visual Studio C++ compiler. Now need to switch to an old version 2022.17.0.23 of Visual Studio C++. After the old version is installed, can not use the old mail address and passwd to login. How to solve the problem?

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,016 questions
asked 2025-09-24T03:19:24.48+00:00
Zhou, Joe 0 Reputation points
commented 2025-10-08T03:44:35.3133333+00:00
Varsha Dundigalla(INFOSYS LIMITED) 2,700 Reputation points Microsoft External Staff
1 answer

MSVCRT40.DLL missing when installing software

Hello all, I'm trying to install a software that keeps giving me the message that "The file C:\Windows\System32\MSVCRT40.DLL could not be opened." Searching the web I got the information that this DLL is part of the Visual C++ packages. Which…

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,016 questions
asked 2025-10-07T14:05:13.0333333+00:00
SergioAAV 0 Reputation points
commented 2025-10-08T06:43:04.0066667+00:00
Varsha Dundigalla(INFOSYS LIMITED) 2,700 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

How to test my C++ function

How to test a C++ function? My function returns wrong results. I’m debugging. The only way I can think of is creating a new console application, then copy the function into it and input test data one by one using keyboard. Do you have better…

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,016 questions
asked 2025-10-09T02:13:43.14+00:00
Jiaxin Zhang 60 Reputation points
commented 2025-10-10T11:27:22.6033333+00:00
Varsha Dundigalla(INFOSYS LIMITED) 2,700 Reputation points Microsoft External Staff
0 answers

How to force Visual Studio compiler to generate inline instructions for intrinsic functions?

When I turned on /Oi and declared #pragma intrinsic(memset), etc., and compile, Visual Studio still generates calls to memset, etc. Later I found the reason: The question is, how to force the compiler to generate inline instructions for intrinsic…

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,016 questions
asked 2025-10-12T04:16:29.0533333+00:00
张皓然 0 Reputation points
commented 2025-10-12T07:14:09.4266667+00:00
RLWA32 50,826 Reputation points