3,988 questions with Developer technologies | C++ tags

Sort by: Updated
4 answers

The correct CChildFrame is not activated after the predecessor is closed.

MFC MDI application. Opened several CChildFrame s. (To illustrate better my issue I identified every CChildFrame with an unique id.) Opened, lets say, 5 CChildFrame. 1, 2, 3, 4, 5. List the order of the CChildFrame by menu: About: List…

Developer technologies | C++
asked 2025-07-21T11:59:20.9766667+00:00
Flaviu_ 1,071 Reputation points
commented 2025-08-12T08:21:18.9333333+00:00
RLWA32 50,066 Reputation points
3 answers

How do I resolve the following Exception...?

Exception thrown at 0x00007FFA4A457F9A (KernelBase.dll) in App.exe: WinRT originate error - 0x8000FFFF : 'WindowsXamlManager and DesktopWindowXamlSource are supported for apps targeting Windows version 10.0.18226.0 and later. Please check either the…

Developer technologies | C++
asked 2025-08-06T14:07:48.4966667+00:00
CDev-8220 425 Reputation points
commented 2025-08-11T08:58:15.97+00:00
Varsha Dundigalla(INFOSYS LIMITED) 795 Reputation points Microsoft External Staff
2 answers

Usage of TLS 1.3 protocol using SCHANNEL in C++ language for TCP/IP

We are trying to build one sample application using only TLS 1.3(No fallback to older TLS versions) protocol with below registries added,  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Client]…

Developer technologies | C++
asked 2025-07-30T09:34:50.8566667+00:00
G S, Shashank 0 Reputation points
edited a comment 2025-08-11T05:21:55.5133333+00:00
G S, Shashank 0 Reputation points
2 answers

Can we directly set the bitrate in a WAV file?

I’m working with WAV audio files and would like to know if it's possible to directly set a specific bitrate (e.g., 128 kbps or 256 kbps) for a WAV file. From what I understand, WAV files are typically uncompressed (PCM), and their bitrate is derived from…

Developer technologies | C++
asked 2025-08-08T06:38:36.89+00:00
siva s 0 Reputation points
answered 2025-08-11T05:11:21.1866667+00:00
Gade Harika (INFOSYS LIMITED) 330 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Can't uninstall, modify or reinstall Visual C++ 2022 x64.

I need to update C++ so I can redownload a Versaworks, though im completely unable to make any changes to C++, A newer version is required for the install and I cant use my current version. The error I get when trying to install Versaworks: the package…

Developer technologies | C++
asked 2025-08-04T15:49:59.49+00:00
Mori Price 20 Reputation points
accepted 2025-08-05T08:06:51.0966667+00:00
Mori Price 20 Reputation points
1 answer

Help fixing template logging code

In the line return $log, "testVoid4"; I'm getting this compile error: 'void' function returning a value I don't understand why when $log, is called with just a single argument void_wrapper is returning anything else than void. How I could make…

Developer technologies | C++
asked 2025-07-16T06:42:33.8366667+00:00
Lilo 40 Reputation points
commented 2025-08-04T11:26:29.0366667+00:00
Varsha Dundigalla(INFOSYS LIMITED) 795 Reputation points Microsoft External Staff
3 answers

Please reset my developer account & free phone #

I signed up for the Microsoft 365 Developer Program using the email **PII removed**, selected Personal Use by mistake, and did not receive a sandbox tenant. I have since tried to create a new developer account with a new email, but now I’m blocked from…

Developer technologies | C++
asked 2025-07-17T01:54:41.8866667+00:00
Herb Wolff 0 Reputation points
commented 2025-08-04T09:09:03.1333333+00:00
Adiba Khan 245 Reputation points Microsoft External Staff
4 answers

Can't publish ARM64 binary : GENERATEPROJECTPRIFILE : error : PRI180: 0x80070057

Hello; With Visual Studio 2019 Version 16.8.4, a WPF C++ Managed project, which I can successfully build, it fails to publish with error: error : PRI180: 0x80070057 - Target ARM64\Release\PackageUploadLayout does not exist error : PRI193:…

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | C++
asked 2021-03-10T21:54:03.003+00:00
Stéphane Denis 1 Reputation point
edited an answer 2025-08-02T04:02:31.7433333+00:00
Alexis Gross 0 Reputation points
3 answers One of the answers was accepted by the question author.

What is the difference if any...?

I normally leave the framework headers arranged by the default template, and add all other headers after. For example, #include <vector> #include <algorithm> #include <iterator> follows #include "targetver.h" #define…

Developer technologies | C++
asked 2025-07-31T00:37:23.93+00:00
CDev-8220 425 Reputation points
commented 2025-08-01T23:17:58.3666667+00:00
-Juli Migd 0 Reputation points
1 answer

Crashing when accessing Key Vault from C++ application

I am following this guide to connect to my Key Vault from my C++ app: https://azuresdkdocs.blob.core.windows.net/$web/cpp/azure-security-keyvault-keys/4.1.0/index.html I am writing in C++ for Unreal. I am getting a consistent crash when trying to do…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,461 questions
Developer technologies | C++
asked 2024-03-02T00:32:07.3033333+00:00
Robyn To 0 Reputation points
edited a comment 2025-07-31T10:45:31.15+00:00
RNareddy 2,505 Reputation points Microsoft External Staff Moderator
1 answer

Frequent loss of network using opensuse running on WSL2 via VSCode

I commonly use opensuse running under WSL2 via VSCode for software development. While it works at all, it works very well. Fairly frequently (perhaps every other day), I lose the network: DNS still works, but there is no route for IP traffic (pings…

Developer technologies | C++
asked 2025-07-29T10:04:30.5233333+00:00
Paul Gardiner 0 Reputation points
answered 2025-07-30T08:25:52.2366667+00:00
Varsha Dundigalla(INFOSYS LIMITED) 795 Reputation points Microsoft External Staff
0 answers

Raw Input report rate is so low

Hello. I'm trying to scan some keyboard input, and it works but the polling rate is so low. The hidclass.sys driver seemed to aggregate some input packets while I don't want to do that. Is there a way to make the HID driver have high polling rate (at…

Developer technologies | C++
asked 2025-07-27T06:13:49.77+00:00
나느 41 Reputation points
commented 2025-07-27T10:13:24.92+00:00
Viorel 123.6K Reputation points
2 answers One of the answers was accepted by the question author.

Windows application specific's registry key

I need a place to put configuration for my Win32 application inside the registry. Where it is should be? Are there multiple places to store application-specific registry?

Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C++
asked 2022-10-04T04:30:29.013+00:00
thebluetropics 1,046 Reputation points
commented 2025-07-21T23:00:45.63+00:00
Bruce (SqlWork.com) 79,101 Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

How do I add an existing directory tree to a project in Visual Studio

I was trying to use this solution, but realize that Visual Studio 2022 does not have the option "Include in Project.". What feature replaces this, for getting a directory tree into my project? Thanks.

Developer technologies | C++
asked 2023-12-13T13:54:38.1266667+00:00
CDev-8220 425 Reputation points
commented 2025-07-22T12:52:04.7566667+00:00
Lindsay, Carol C 0 Reputation points
3 answers

Could you explain why the _Hash class manages buckets using both lower and upper bounds?

Hello, First of all, I’d like to kindly ask for your understanding as I’m using a translation tool to write this message. While looking into the msvc C++ _Hash class, I came across something I didn’t fully understand, so I’m reaching out with a question.…

Developer technologies | C++
asked 2025-05-07T06:23:50.5233333+00:00
형진 김 20 Reputation points
commented 2025-07-21T04:05:38.47+00:00
Omkara Varshitha Kunapalli (INFOSYS LIMITED) 235 Reputation points Microsoft External Staff
3 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…

Developer technologies | C++
asked 2025-06-06T09:26:21.51+00:00
O V, Naveen 20 Reputation points
commented 2025-07-21T04:05:01.9266667+00:00
Omkara Varshitha Kunapalli (INFOSYS LIMITED) 235 Reputation points Microsoft External Staff
1 answer

E_ACCESSDENIED error when IStream::Seek on Stream created using CreateStreamOnHGlobal on Windows 11 24H2 client

Hello all, After days of debugging, I found I am getting E_ACCESSDENIED error on the server side (Windows Server 2022) when I try to seek to the beginning of a stream: `ULARGE_INTEGER lPos;` LARGE_INTEGER lZero; lZero.QuadPart = 0; auto hrTemp =…

Developer technologies | C++
asked 2025-07-02T05:35:11.58+00:00
Robert Bui 0 Reputation points
commented 2025-07-17T22:25:39.1333333+00:00
Bui, Robert 0 Reputation points
0 answers

Why does CMainFrame::OnMdiNext is not called?

I have a MFC MDI app. I want to override WM_MDINEXT message. And I did: header: protected: afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg LRESULT OnMdiNext(WPARAM wParam, LPARAM…

Developer technologies | C++
asked 2025-07-16T13:53:28.6166667+00:00
Flaviu_ 1,071 Reputation points
commented 2025-07-17T08:19:26.31+00:00
Flaviu_ 1,071 Reputation points
1 answer One of the answers was accepted by the question author.

Why does CMainFrame::OnMdiNext is not called?

I have a MFC MDI app. I want to override WM_MDINEXT message. And I did: header: protected: afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg LRESULT OnMdiNext(WPARAM wParam, LPARAM…

Developer technologies | C++
asked 2025-07-16T15:05:14.8366667+00:00
Flaviu_ 1,071 Reputation points
accepted 2025-07-17T14:24:53.4366667+00:00
Flaviu_ 1,071 Reputation points
1 answer One of the answers was accepted by the question author.

How can I fix 'Expecting an Identifier' on max and min in this line of Code?

float maxNum = std::numeric_limits<float>::max();

Developer technologies | C++
asked 2025-07-17T22:00:26.92+00:00
CDev-8220 425 Reputation points
commented 2025-07-18T10:53:53.33+00:00
CDev-8220 425 Reputation points