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

Sort by: Updated
0 answers

ICoreWebView2GetCookiesCompletedHandler is not called if the WebView is idle

Hello, I am using ICoreWebView2CookieManager and am trying to fetch a list of cookies via GetCookies. If i have a WebView that is constantly navigating to various pages it is eventually called. But if i have a hidden WebView, that does nothing but idle.…

Developer technologies | C++
Microsoft Edge | Microsoft Edge development
asked 2025-01-29T12:29:56.9433333+00:00
Balash, Omer 1 Reputation point
commented 2025-08-29T03:16:21.66+00:00
Damien Pham (WICLOUD CORPORATION) 570 Reputation points Microsoft External Staff
1 answer

how to upgrade from vs2003 to vs2022

how to upgrade to vs 2022 I have a c++ code developed with vs2003, trying to open in vs 2022 but got many errors I can I solve it, and continue developing in vs 2022 ?

Developer technologies | C++
asked 2025-08-28T16:28:29.3033333+00:00
Doron Carmon 0 Reputation points
answered 2025-08-28T17:03:48.1+00:00
Bruce (SqlWork.com) 79,526 Reputation points Volunteer Moderator
1 answer

Help with Semaphores

Hi Everyone, I am experimenting with Semaphores as I am reading the Windows System 10 programming book, I have this code, when it's run at first it's supposed to spin up the Semaphore Server and that works fine , but when I run another instance of it…

Developer technologies | C++
asked 2025-08-28T15:29:13.9966667+00:00
Joseph RW 85 Reputation points
answered 2025-08-28T15:52:07.2+00:00
RLWA32 50,496 Reputation points
5 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 5 Reputation points
edited an answer 2025-08-28T12:15:19.1033333+00:00
Varsha Dundigalla(INFOSYS LIMITED) 1,110 Reputation points Microsoft External Staff
1 answer

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…

Developer technologies | C++
asked 2025-06-04T07:03:29.4133333+00:00
Srikar Kurapati 0 Reputation points
commented 2025-08-28T06:50:18.2966667+00:00
Omkara Varshitha Kunapalli (INFOSYS LIMITED) 380 Reputation points Microsoft External Staff
3 answers One of the answers was accepted by the question author.

How do I get the SRWLock mechanism to work.

What I am trying to do is download a file and after each 4096 Bytes print the Download Progress from the ReadSharedData() thread using a global_shared_data, to prevent Data Race conditions I am using the SRWLock mechanism but the program just prints…

Developer technologies | C++
asked 2025-08-27T06:10:29.5033333+00:00
Joseph RW 85 Reputation points
commented 2025-08-28T05:24:42.1033333+00:00
Joseph RW 85 Reputation points
2 answers

Visual C ++

Microsoft Visual C++ Runtime Library – Assertion Failure I have been receiving an Assertion Failure message from Windows (expression: vulcan_) and I’m not sure how to fix it or how critical it is. I have also been experiencing issues with Adobe, and…

Developer technologies | C++
asked 2025-08-25T21:04:00.5966667+00:00
Rana Ayyash 0 Reputation points
answered 2025-08-27T08:01:08.4833333+00:00
Susmitha T (INFOSYS LIMITED) 575 Reputation points Microsoft External Staff
2 answers

Query on Stack Protection Status

Hello Team, While checking a Windows executable in Process Explorer, I noticed that Stack Protection is shown as Disabled, whereas DEP, ASLR, and CFG are enabled. PFA screenshot for reference. Could you please confirm if this is expected behavior, and…

Developer technologies | C++
asked 2025-08-26T06:24:55.8766667+00:00
Mashuk Raza 20 Reputation points
commented 2025-08-26T18:34:27.5666667+00:00
RLWA32 50,496 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
commented 2025-08-26T09:43:20.97+00:00
Gade Harika (INFOSYS LIMITED) 490 Reputation points Microsoft External Staff
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 445 Reputation points
commented 2025-08-26T08:58:41.0566667+00:00
Varsha Dundigalla(INFOSYS LIMITED) 1,110 Reputation points Microsoft External Staff
1 answer

DX11 GPU memory leak on OpenSharedResource

I'm trying to figure why i'm getting GPU memory leak on this code. I checked using System Informer, at "Gpu Dedicated bytes" the memory usage increases on each loop iteration. I thought it was a missing call to CloseHandle(hDxSurface);, but…

Developer technologies | C++
asked 2025-08-12T16:14:12.51+00:00
Mike 25 Reputation points
commented 2025-08-26T08:58:08.0033333+00:00
Varsha Dundigalla(INFOSYS LIMITED) 1,110 Reputation points Microsoft External Staff
1 answer

Issues with RGB Color Channels in WIC Codec API on Windows 11

An issue has been encountered regarding the quality of bitmaps generated using the Windows Imaging Component (WIC) on Windows 11, 24H2 OS. Insights or solutions regarding the handling of RGB color channels would be appreciated.

Developer technologies | C++
asked 2025-08-20T10:29:04.4833333+00:00
Shenoy, P Raghavendra 0 Reputation points
commented 2025-08-25T05:56:52.4+00:00
Varsha Dundigalla(INFOSYS LIMITED) 1,110 Reputation points Microsoft External Staff
3 answers

NtCreateToken example for creating elevated token without user password

Hi, I need elevated token for user, So i can achieve this by using NtCreateToken undocumented API. I'm not able to find any examples to call NtCreateToken. If anybody knowing usage of [NtCreateToken][1], help me!!!!!!

Developer technologies | C++
asked 2021-06-15T11:17:06.337+00:00
Bala Smart 51 Reputation points
answered 2025-08-24T13:14:52.8766667+00:00
杨 承浩睿 0 Reputation points
4 answers One of the answers was accepted by the question author.

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,091 Reputation points
commented 2025-08-22T09:06:59.41+00:00
Flaviu_ 1,091 Reputation points
0 answers

How do I start an application process in a new desktop (Desktop 2) with CPP and CreateProcess

// Module_5_Processes.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <Windows.h> #include <stdio.h> #include <iostream> #define NULL 0 int main() { //NOTES /* BOOL…

Developer technologies | C++
asked 2025-08-21T10:07:48.66+00:00
Joseph RW 85 Reputation points
commented 2025-08-22T07:50:14.6933333+00:00
bunny 0 Reputation points
0 answers

Windows SDK 10.0.26100 causes compilation error in wchar.h with MSVC 2015 compiler

I'm trying to build a legacy product that used MSVC 2015 Update 3 (compiler version 19.00.24215.1). Since Windows SDK 10.0.26100 was installed on the machine the build fails with the following…

Developer technologies | C++
asked 2025-04-29T13:21:21.06+00:00
MikeB 16 Reputation points
commented 2025-08-21T07:31:09.0766667+00:00
Zhi Wei Lau 0 Reputation points
0 answers

vruntme140d.dll msvcp140d.dll vruntime140_1d.dll ucrtbased.dll missing

vruntme140d.dll msvcp140d.dll vruntime140_1d.dll ucrtbased.dll missing in win64

Developer technologies | C++
asked 2025-08-16T07:49:03.83+00:00
leon Sarens 0 Reputation points
edited the question 2025-08-20T03:18:35.0233333+00:00
Rob Caplan - MSFT 6,127 Reputation points Microsoft Employee Moderator
1 answer One of the answers was accepted by the question author.

Why don't I see any text on screen?

I don't think I missed any code. LRESULT CALLBACK WindowProc(HWND, UINT, WPARAM, LPARAM); HWND _hWnd = nullptr; HWND _childhWnd = nullptr; HINSTANCE _hInstance = nullptr; int APIENTRY wWinMain( _In_ HINSTANCE hInstance, _In_opt_ HINSTANCE…

Developer technologies | C++
asked 2025-08-15T23:23:35.6833333+00:00
CDev-8220 445 Reputation points
accepted 2025-08-17T19:19:46.9466667+00:00
CDev-8220 445 Reputation points
2 answers One of the answers was accepted by the question author.

How to call Python functions from C++, good description

Where do I find a good description of how to call Python functions from a C++ program ?

Developer technologies | C++
asked 2025-08-14T21:08:34.4+00:00
Eigil Krogh Sorensen 121 Reputation points
accepted 2025-08-17T16:17:23.77+00:00
Eigil Krogh Sorensen 121 Reputation points
1 answer One of the answers was accepted by the question author.

How do you add a ELF symbol file using symstore.exe ?

According to the dotnet-sos and dotnet-symbols we see that modern symstore fetches support downloading ELF symbols files (ex: libcoreclr.so). The microsoft github repository for theses tools also show that support for elf file was added. This suggests…

Developer technologies | C++
asked 2025-08-12T19:58:00.74+00:00
Mathieu Girard 20 Reputation points
commented 2025-08-15T12:09:52.3166667+00:00
Varsha Dundigalla(INFOSYS LIMITED) 1,110 Reputation points Microsoft External Staff