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++
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++
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++
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++
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++
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++
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++
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++
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++
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++
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++
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++
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++
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++
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++
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++
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++
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++
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++
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…