3,738 questions with C++-related tags

Sort by: Updated
0 answers

'SysListView32' Bug with multiple items selection: still not fixed in Windows 11 23H2

When I use our own 32 bit application, the mouse cursor still jumps to a corner when I do the lasso selection in a listview (click and drag a rectangle to select multiple listview items). From what I've found in the internet, the program might use a…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,630 questions
C++
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.
3,738 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,701 questions
asked 2024-10-16T14:45:32.1733333+00:00
HenningD 0 Reputation points
3 answers

Issue with x64 and commctl32.dll

I am building a x64 project, i am using #pragma comment(linker,"/manifestdependency:"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df'…

C++
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.
3,738 questions
asked 2024-10-10T18:17:27.0866667+00:00
Bevan Thomas 20 Reputation points
edited a comment 2024-10-16T14:39:44.66+00:00
RLWA32 45,571 Reputation points
0 answers

Problem with HLSL shaders.

I'm working with D3D12, and I've run into another problem. I managed to fix my command list problem, but apparently something is going wrong with my shaders? My code currently is struct Vertex { DirectX::XMFLOAT3 position; // 3D position …

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,630 questions
C++
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.
3,738 questions
asked 2024-10-05T14:22:18.94+00:00
CakeDev 50 Reputation points
commented 2024-10-16T13:43:49.61+00:00
CakeDev 50 Reputation points
1 answer

How to print the coverage report while using libfuzzer with MSVC?

While using libfuzzer with MSVC the coverage section is empty. Is there a way to print the coverage report with libfuzzer & MSVC?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,141 questions
C++
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.
3,738 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,915 questions
asked 2024-10-08T06:08:05.8933333+00:00
Vishnu Gopalakrishnan 126 Reputation points
commented 2024-10-16T13:24:27.1+00:00
Vishnu Gopalakrishnan 126 Reputation points
3 answers

Can't install Visual C++ 2008 Redistributable.

I don't know what is "Microsoft.VC90.ATL",and I can't find it on Microsoft.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,141 questions
C++
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.
3,738 questions
asked 2024-10-15T14:43:36.08+00:00
Sky Walker 0 Reputation points
answered 2024-10-16T07:14:10.1766667+00:00
Tianyu Sun-MSFT 30,811 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Conflict Between /MT and /MD When Using Windows.winmd with Third-Party Libraries

Hi everyone, I am currently working on a project using C++/CX that interacts with the Windows WinMD, specifically within the Windows.Management.Deployment namespace. I’ve encountered a compatibility issue related to the runtime libraries. The third-party…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,417 questions
C++
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.
3,738 questions
asked 2024-10-14T12:33:02.72+00:00
checkingrandom 226 Reputation points
accepted 2024-10-16T05:19:02.48+00:00
checkingrandom 226 Reputation points
1 answer

How to to fix this issue?

I tried downloading Visual Studio to my pc but I have this error popping up which I don't know how to fix. I've tried installing the package into my pc but it wouldn't complete. I've tried using the internet many times and asking a few people but it was…

C++
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.
3,738 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,045 questions
asked 2024-10-08T17:54:45.4733333+00:00
Avva 0 Reputation points
edited an answer 2024-10-16T03:15:35.2666667+00:00
Tianyu Sun-MSFT 30,811 Reputation points Microsoft Vendor
0 answers

Universal Windows Platform (UWP) API Call from C native console application - crash

Hi! Based on Microsoft Universal Samples (https://github.com/microsoft/Windows-universal-samples) I've created a static library(.lib) for geolocating on Windows 10/11. The library is linked into a Windows console application (.exe). I've tried with…

Universal Windows Platform (UWP)
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,141 questions
C++
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.
3,738 questions
asked 2024-10-15T13:03:17.6366667+00:00
test test 0 Reputation points
commented 2024-10-15T16:18:34.6566667+00:00
Darran Rowe 1,006 Reputation points
1 answer

Not able to debug c++ code on visual studio 2022

I am developing android application using c# and c++. my application uses c++ library. whenever I select c++ debugger in android project properties window and i run my app in debug then I get an error which is attached as image to this question. I…

C++
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.
3,738 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,000 questions
asked 2024-10-08T05:33:44.63+00:00
Gaurav Sharma 0 Reputation points
edited a comment 2024-10-15T08:12:32.69+00:00
Tianyu Sun-MSFT 30,811 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Can we use both WinUI3 controls and Win32 controls in a WinUI3 application?

Hi, I'm using WinUI3 application, As we can extract HWND from WinUI3 window, and we can attach Window Proc with SetWindowSubclass and manage WM_* messages, I was wondering if we can use Win32 controls and WinUI3 controls at the same time. I was…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,630 questions
C++
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.
3,738 questions
asked 2022-12-05T06:13:30.36+00:00
Harshithraj1871 1,536 Reputation points
edited a comment 2024-10-15T08:06:23.9266667+00:00
Shyam Butani 215 Reputation points
0 answers

signature verification issue with crypt32.dll CryptMsgControl api

We have an application which transfer EDI documents using AS2 protocol where When we send data to one of our business partner and try to verify the signature of the MDN that business partner return to us and we can`t verify the signature of the MDN that…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,417 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,630 questions
C++
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.
3,738 questions
asked 2024-10-11T14:56:22.9666667+00:00
Mehul Donga 0 Reputation points
commented 2024-10-15T07:07:43.2166667+00:00
Jeanine Zhang-MSFT 9,676 Reputation points Microsoft Vendor
0 answers

Why doesn't GetNameInfo win32 api resolve Chinese computer names on Windows 11?

0 I have a small lab based Active Directory environment with 3 devices. They have the following OS installed. DC running Windows Server 2022 hosting my AD server. 1.Endpoint running Windows 10 Pro (22H2 Build 19045.4780) [English US installation and…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,630 questions
C++
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.
3,738 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,701 questions
asked 2024-10-01T07:31:51.6766667+00:00
Arif Waqas 0 Reputation points
commented 2024-10-15T03:21:32.87+00:00
Roy Li - MSFT 33,276 Reputation points Microsoft Vendor
1 answer

How to make XAudio2 throw a Device Lost flag/error?

Hi, I was wondering how I can produce a Device Lost message for XAudio2. I tried using the dxcaps -forcetdr command in the Developer Command Prompt window for Visual Studio, but it did not work. I am using C++ and programming for Windows 10. Derek

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,630 questions
C++
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.
3,738 questions
asked 2024-10-01T02:15:50.39+00:00
Derek Todd 0 Reputation points
commented 2024-10-15T03:20:15.9533333+00:00
Roy Li - MSFT 33,276 Reputation points Microsoft Vendor
1 answer

Debugging in MFC code

I have the following code: CDBVariant var; std::unique_ptr<CRecordset> recordset = ... initialized recordset->GetFieldValue(i, var); And I got an error: I want to explore what is happen in CRecordset::GetFieldValue method, using debugging step…

C++
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.
3,738 questions
asked 2024-10-14T08:29:54.37+00:00
Flaviu_ 991 Reputation points
commented 2024-10-15T02:40:44.5033333+00:00
Minxin Yu 11,756 Reputation points Microsoft Vendor
2 answers

Microsoft Visual C++ X64 Minimum Runtime Error, (Not Installing. Missing the .MSI file.)

Receiving this error when trying to install VC_redist.x64 (2).exe C:\ProgramData\Package Cache{221D6DB4-46E2-333C-B09B-5F49351D0980}v14.13.26020\packages\vcRuntimeMinimum_amd64\

C++
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.
3,738 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,161 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,701 questions
asked 2024-10-05T17:11:44.6266667+00:00
Gary 0 Reputation points
answered 2024-10-14T15:03:03.1766667+00:00
Mohammad Sartaj Khan 75 Reputation points
1 answer

How can i check for /experimental:c11atomics flag inside code?

Hi Microsofters, I have a problem when compiling C code for more than 2 weeks to catch whether /experimental:c11atomics is set for msvc inside code. I tried checking for __STDC_NO_ATOMICS__ macro but in vain. Could anyone please give me any tip how to…

C++
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.
3,738 questions
asked 2024-10-09T13:45:25.4433333+00:00
Adam Satko 0 Reputation points
commented 2024-10-14T02:25:20.08+00:00
Minxin Yu 11,756 Reputation points Microsoft Vendor
0 answers

Zombie COM Surrogate (WinInetCacheServer) processes when running MAPI in a 64-bit MFC Application via Task Scheduler

I have a 32-bit C++ MFC Windows application that calls MAPI via the Windows MAPI API. Recently, I compiled the application to 64-bit, and it runs fine when launched manually. However, when I schedule the same 64-bit version to run via Windows Task…

Outlook
Outlook
A family of Microsoft email and calendar products.
3,886 questions
C++
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.
3,738 questions
asked 2024-10-11T05:58:27.6133333+00:00
Dave 166 Reputation points
2 answers One of the answers was accepted by the question author.

Cannot start visual studio due to an error. Microsoft.ServiceHub.Client.ControllerConnectionException: Controller terminated before accepting condition. Exit code: -532462766

Upon opening Visual Studio Professional 2022, the following error appears: Cannot start visual studio due to an error. Microsoft.ServiceHub.Client.ControllerConnectionException: Controller terminated before accepting condition. Exit code:…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,141 questions
C++
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.
3,738 questions
asked 2023-08-17T17:21:20.2533333+00:00
Mary-m 75 Reputation points
commented 2024-10-10T21:38:13.66+00:00
ds 5 Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft Visual c++ 2019 x64 Minimum Runtime 14.23.27820

Non riesco a fare il download di alcuni software (devo scaricare Microsoft Visual c++ 2019 x64 Minimum Runtime 14.23.27820).Ho provato scaricare il link dal vs. sito , ma mi viene risposto che non e' possibile cancellare la versione precedente. Come…

C++
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.
3,738 questions
asked 2024-10-10T08:48:55.0233333+00:00
ALESSANDRO CANNA 20 Reputation points
accepted 2024-10-10T17:34:19.28+00:00
ALESSANDRO CANNA 20 Reputation points
0 answers

Regarding the matching rules for the includePath configuration option in CppProperties.json (vs2019)

The root directory of the project is D:\work\code\cpp-service. ├── comm ├── cpp-service │   ├── .git │   ├── .gitignore │   ├── .vs │   ├── CppProperties.json │   ├── account_proj │   ├── auction │   ├── comm -> ../comm │   ├── comment_proj │   ├──…

C++
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.
3,738 questions
asked 2024-09-30T10:00:39.4433333+00:00
daqing wu 0 Reputation points
commented 2024-10-10T12:53:18.9166667+00:00
Minxin Yu 11,756 Reputation points Microsoft Vendor