3,960 questions with C++-related tags

Sort by: Updated
5 answers

How to get a certificate to sign an MSIX

In the Azure Trusted Signing accounts, I completed Identity Validation for my LLC I want to create a certificate to sign an MSIX installer .exe file The only certificate profiles listed are "Public Trust and VBS Enclave." …

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,960 questions
asked 2025-06-11T13:45:04.3566667+00:00
Steve 0 Reputation points
edited an answer 2025-06-13T11:45:10.7033333+00:00
Steve 0 Reputation points
4 answers One of the answers was accepted by the question author.

I need to understand if and how the win32 API SetDIBitsToDevice() allocates extra memory buffers during its process

Hi, I could not find an appropriate tag for my problem so I selected the one I felt was most likely to give me relevant response. I am currently working with an application in which it is extremely important that no copies of any data is retained in…

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,960 questions
asked 2025-06-12T10:27:17.5233333+00:00
Anders Kofoed 0 Reputation points
answered 2025-06-13T09:44:10.7933333+00:00
Anders Kofoed 0 Reputation points
0 answers

Confirm For ECCN For Visual C++ Redistributable / Microsoft Visual Studio Redistributables / VC++ Runtime Dlls

Hello, here I want to confirm the accurate ECCN info of below Microsoft Software Products: Visual C++ Redistributable for Visual Studio 2010 SP1 Visual C++ Redistributable for Visual Studio 2012 Update 4 Visual C++ Redistributable for Visual…

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,960 questions
asked 2025-06-13T07:49:35.55+00:00
Yang, Yi (RC-CN DI FA R&D SW) 20 Reputation points
1 answer One of the answers was accepted by the question author.

Are there files missing from Windows SDK 10.0.26100.0 and how can I update them?

I'm trying to use the XAML Islands, but there are header files that I get the error E1696: cannot open source file. I tried the solution Compile your newly created project at least once. Then right-click in the source code editor > Rescan > Rescan…

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,960 questions
asked 2025-06-10T16:43:17.0633333+00:00
CDev-8220 365 Reputation points
accepted 2025-06-11T16:15:36.91+00:00
CDev-8220 365 Reputation points
0 answers

Not getting purchase information of subscription

I'm using the windows_iap package for implementing in-app purchases in my Windows Flutter app. However, whenever I run the app or create an MSIX package and check for purchases, I consistently receive empty results or messages indicating that no purchase…

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,960 questions
asked 2025-06-10T14:11:46.0766667+00:00
Dev 0 Reputation points
edited the question 2025-06-11T05:56:59.4933333+00:00
Dev 0 Reputation points
2 answers

Can a console created via AllocConsole() be preserved after abrupt termination of a WinMain-based GUI process?

A console created dynamically using AllocConsole() for a winmain entry point application vanishes if the parent GUI process terminates abruptly (e.g., via an unhandled exception or forced termination). This raises concern that stderr logs printed to the…

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,960 questions
asked 2025-06-05T13:11:00.1333333+00:00
Varun Dixit 20 Reputation points
commented 2025-06-10T13:37:07.3833333+00:00
RLWA32 49,301 Reputation points
0 answers

OpenEventLog returns RPC_S_SERVER_UNAVAILABLE on Windows 24H2

We have a tool that parse data from the eventlog. However this has stopped working to access remote servers when run Windows 24H2 machines, with either of the following errors: RPC_S_SERVER_UNAVAILABLE RPC_X_BAD_STUB_DATA The following application…

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,772 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,960 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,748 questions
asked 2024-11-13T12:07:58.58+00:00
Ljungberg, Ted 10 Reputation points
commented 2025-06-10T09:03:44.9166667+00:00
Ljungberg, Ted 10 Reputation points
2 answers One of the answers was accepted by the question author.

Application was unable to start correctly(0xc000007b)

Hi All, I am using visual studio 2010 C++ and my project builds without any errors but when I run it, getting error message "The application was unable to start correctly(0xc000007b)", I tried with many options which I found in…

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,960 questions
asked 2021-05-17T15:42:41.19+00:00
Asha Diggi 96 Reputation points
commented 2025-06-08T10:51:06.8+00:00
عمار ابو طحيمر 0 Reputation points
0 answers

Crash dumps are not created sporadically.

We have separate process built by us on utilizing the WER in the situation and creating the dump file in the path we configure. But sporadically, we see that WER has not reproted the issue and dump files are not created. Sometimes WER has reported and…

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,960 questions
asked 2025-06-06T09:26:21.51+00:00
O V, Naveen 20 Reputation points
1 answer

i cant download microsoft visual c++ because it says setup failed 0x800705b4 i did not find any tutorials on youtube how to fix it,Please help me microsoft team

I wanted to install microsoft visual c++,when i download the microsoft visual c++ installer is stuck at initializing and then after 3-2 minutes it says setup failed.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,075 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,894 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,960 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,194 questions
asked 2023-05-21T16:28:56.12+00:00
Mario Regele 5 Reputation points
commented 2025-06-05T16:24:29.2633333+00:00
JofferyJQ 0 Reputation points
0 answers

Kernel mode - PsGetCurrentProcessId && PsGetCurrentProcess bad docs

в ходе написания драйвера столкнулся с необходимостью скрыть импорты. начал писать импретацию функций PsGetCurrentProcessId и PsGetProcessId(PsGetCurrentProcess()). обнаружил ошибку вроде как две функции по названию имеют один и тот же смысл но нет…

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,960 questions
asked 2025-06-05T07:34:44.51+00:00
alex golunov 0 Reputation points
0 answers

Custom CSP(cryptographic service provider) DLL is not used by adobe for signing

I have developed a custom CSP DLL, and I tried pushing a certficate to window store with private key referencing to custom CSP using CERT_KEY_PROV_INFO_PROP_ID for CertSetCertificateContextProperty . I have signed and registered my CSP in registry entry…

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,960 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,748 questions
asked 2023-09-21T06:12:36.7266667+00:00
Anonymous
commented 2025-06-05T06:57:53.9066667+00:00
Shahzaib khan 0 Reputation points
1 answer

Visual Studio don't detect new change in code

In the Hello world C++ default project, when I modify the code I need to rebuild the entire solution after modifications. Visual Studio think that my code is already up-to-date. It's not viable to rebuild because it take a lot more time in bigger…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 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,960 questions
asked 2022-06-02T14:21:00.813+00:00
Maxime Charriere 11 Reputation points
commented 2025-06-04T23:10:13.6133333+00:00
James M 0 Reputation points
0 answers

How to show error icon when sync fails with cloud filter apis?

I am trying to create VFS using cloud filter APIs and want to implement error handling. In OnFetchData if we get any errors I want to show error icon in sync status. Can someone help what API should be called to achieve this functionality. I have tried…

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,960 questions
asked 2025-06-04T07:03:29.4133333+00:00
Srikar Kurapati 0 Reputation points
0 answers

The file or directory is corrupted and unreadable.

Failed to execute command: ""C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64\CL.exe" @C:\Users\Rohi\AppData\Local\Temp\MSBuildTemp\tmpf0e7a1f542fd49198d5f713dc7888c8c.rsp". The file…

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,960 questions
asked 2025-06-04T06:08:37.76+00:00
rohollah shahnazari 0 Reputation points
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…

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,960 questions
asked 2025-06-02T08:19:06.3133333+00:00
petyer 0 Reputation points
commented 2025-06-03T01:25:48.2133333+00:00
petyer 0 Reputation points
1 answer One of the answers was accepted by the question author.

LNK2005 error on C++ app when implementing a replacement new and delete

In Visual Studio 2019 C++14 I can build a "hello world" program with a custom new and delete. I'm unable to link a larger program which implements a custom new and delete replacement. The error is LNK2005 "void * __cdecl operator…

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,960 questions
asked 2025-05-30T15:51:20.56+00:00
Mike Nice 20 Reputation points
accepted 2025-05-31T00:52:43.68+00:00
Mike Nice 20 Reputation points
2 answers One of the answers was accepted by the question author.

Why am I getting these errors, and do I need to include other header files?

/* You can also use project link settings to explicitly link WindowsApp.lib. Or, you can do it in source code (in pch.h, for example) like this. */ #pragma comment(lib, "windowsapp") /* To use Windows Runtime (WinRT) APIs in your Win32 app, we…

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,960 questions
asked 2025-05-30T14:26:07.9166667+00:00
CDev-8220 365 Reputation points
accepted 2025-05-30T21:30:11.09+00:00
CDev-8220 365 Reputation points
0 answers

I purchased Visuao Studio Pro 2022 and I did not get a Product Key

Visual Studio Pro 2022 Order number 2207564544 on 12/6/2-24 I did not get a Product Key. How do I get the product key for this?

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,960 questions
asked 2025-05-29T22:00:46.1433333+00:00
robert cecil 0 Reputation points
0 answers

CPrintDialog CommDlgExtendedError

when i use CPrintDialog , (win10,x64) CPrintDialog PD(TRUE); PD.DoModal(); it show no dialog and returned IDCANCEL, and i run CommDlgExtendedError () after it, then returned "CDERR_MEMLOCKFAILURE", it means "The common dialog box…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,683 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,960 questions
Windows Server Printing
Windows Server Printing
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Printing: Printer centralized deployment and management, scan and fax resources management, and document services
698 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
1,044 questions
asked 2020-12-25T09:24:36.467+00:00
HoNey 1 Reputation point
edited the question 2025-05-29T21:59:02.5+00:00
DillanSimmons 6 Reputation points Admin