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

Sort by: Updated
3 answers

blocked in IConnectionPoint::Advise

When I use this api named IConnectionPoint::Advise in my app main thread, the whole app frozen, only happened once. Why and how to fix it? here is the stack: 00 00000082`9673a5f8 00007ffd`a32b61c4 : 00000456`975ae87d 00000082`9673ab60…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-11-26T05:53:22.2+00:00
Lowell Liu 61 Reputation points
edited an answer 2025-12-01T12:52:38.3233333+00:00
RLWA32 51,276 Reputation points
2 answers

debug C++ project with cuda kernel using Nsight

Trying to configure VS 2022 community to integrate with Nvidia tools including NSight debug and compiling .cu source files. This is new install of VS 2022C and then new install of Nvidia GPU tools version v12.6. when i enter VS 2022 no signs of GPU…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-11-29T22:06:29.1166667+00:00
JAMES MORGENSTERN 176 Reputation points
answered 2025-12-01T11:38:18.7033333+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 1,115 Reputation points Microsoft External Staff
1 answer

Stable IFC generation

Currently MSVC generates different IFC file whenever I change *.ixx. It doesn't matter, do I touch the interface or implementation. Even if I add a whitespace in private fragment of the module, MSVC will generate different IFC file which trigger…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-11-28T15:36:07.2+00:00
Alexander Tuzhik 0 Reputation points
answered 2025-12-01T09:23:21.1+00:00
Varsha Dundigalla(INFOSYS LIMITED) 3,650 Reputation points Microsoft External Staff
2 answers

Crashed in IConnectionPoint::Advise

When i use this api named IConnectionPoint::Advise in my app main thread, the app crashed, only once, can not reproduced, why and how to fix it? here is the stack: # Child-SP RetAddr : Args to Child …

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-11-26T05:56:06.73+00:00
Lowell Liu 61 Reputation points
commented 2025-12-01T06:58:28.65+00:00
Adiba Khan 1,440 Reputation points Microsoft External Staff
1 answer

Hello dear Microsoft advisors

Hello dear professional IT advisor of Microsoft. I am Happy for my chance to contact with you. actually I am living in my home in Iran right now and I am getting disappointed by my country sanctions and limitations. The limitations that doesn't harm…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-11-29T01:21:59.61+00:00
nima aalipour 0 Reputation points
answered 2025-11-29T01:22:10.84+00:00
Q&A Assist
2 answers

How much memory allocate when reading save blob with XGameSaveReadBlobData

I'm implementing game save logic and need to write a function that reads data from a single XGameSaveBlob. The documentation for XGameSaveReadBlobData explains how to use it, but it feels incomplete and even partially incorrect. For example, there’s no…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-11-24T16:09:27.5766667+00:00
Alekseev Maksim Valentinovich 0 Reputation points
commented 2025-11-28T06:37:50.6+00:00
Susmitha T (INFOSYS LIMITED) 1,620 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

使用clion编写.c程序时,若.c文件使用utf-8保存,用printf打印中文会出现乱码

在我使用clion编写.c程序时,若.c文件使用utf-8保存,用printf打印中文会出现乱码(无论是在clion的控制台中还是在windows命令行中都是这样),对输出的乱码进行分析得知这是由于程序输出的utf-8编码的信息被控制台用gbk编码解码导致的。 是否是因为windows控制台默认使用gbk编码格式解码导致的? 我尝试过把.c文件改为用gbk格式编码,确实在我的电脑上不出现乱码了,但是可以预见这样生成的程序在其他国家和地区的电脑上会因为他们的windows系统没有使用gbk编码导致在他们…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2023-10-27T05:05:50.88+00:00
AliceDrop 65 Reputation points
edited a comment 2025-11-27T13:15:10.4733333+00:00
页 石 0 Reputation points
3 answers One of the answers was accepted by the question author.

DevicePicker fails to display at the correct coordinates when DPI != 96

I've been struggling with this issue for several days and haven't found a solution despite consulting numerous documentation sources. I'm attempting to invoke DevicePicker.show() to display the DevicePicker at my mouse cursor position. When Windows…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-11-24T18:28:50.8866667+00:00
dalin ye 20 Reputation points
accepted 2025-11-27T07:44:49.57+00:00
dalin ye 20 Reputation points
1 answer

Getting error on this

#include <windows.h> #include <combaseapi.h> // For COM functions #include <string> // Forward declaration LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); int WINAPI WinMain(HINSTANCE hInstance,…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-11-26T12:45:57.0333333+00:00
monica goel 0 Reputation points
commented 2025-11-26T14:09:54.9766667+00:00
RLWA32 51,276 Reputation points
1 answer

Windows Desktop screen capture and transmission over UDP is failing

Hi Microsoft team I am trying to capture my desktop screen and transmit it over UDP to VLC media player running on a Raspberry PI, on the network but the UDP stream is not displaying anything // Source - https://stackoverflow.com/a // Posted by Chuque,…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-11-14T05:38:26.4933333+00:00
Joseph RW 105 Reputation points
commented 2025-11-24T05:20:25.7566667+00:00
Adiba Khan 1,440 Reputation points Microsoft External Staff
2 answers

How to use a .exe in kiosk mode (only for that user) with Windows Configuration Designer (WCD)

I am using windows11 enterprise. I am using windows configuration designer and I create my .ppkg. when I log into kiosk I have black display(my app is not visible and since I changed the shell it won't show anything. If I log into my normal account I…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-11-08T11:43:12.41+00:00
dev 0 Reputation points
commented 2025-11-24T02:44:35.9733333+00:00
Jay Pham (WICLOUD CORPORATION) 2,755 Reputation points Microsoft External Staff Moderator
1 answer

How to troubleshoot and resolve the "win32kfull.sys" error:

The text on the screen is a prompt for users to provide detailed information about a problem they are experiencing, likely within a community forum or support platform. This question is related to the following Learning Module

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-06-17T15:03:32.5066667+00:00
uma p 5 Reputation points
commented 2025-11-21T11:27:09.1533333+00:00
Gade Harika (INFOSYS LIMITED) 1,795 Reputation points Microsoft External Staff
1 answer

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…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-06-04T06:08:37.76+00:00
rohollah shahnazari 0 Reputation points
commented 2025-11-19T14:17:03.7033333+00:00
Varsha Dundigalla(INFOSYS LIMITED) 3,650 Reputation points Microsoft External Staff
1 answer

Como solucionar problemas en ventana GDI en c++

Porque despues de esconder y mostrar varias veces una ventana GDI en c++ empieza a dibujar cualquier cosa o se pone gris la zona que estaba oculta, a pesar de cumplir con todas las condiciones de eliminar y borrar objetos (DeleteObjet, Delete DC y…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-07-17T15:12:27.8566667+00:00
Carlos Sottana 0 Reputation points
commented 2025-11-19T04:11:10.1766667+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 1,115 Reputation points Microsoft External Staff
2 answers

How do I get more information about this linker error?

Recently I have been doing a lot of template related programming and every once in a while I get this linker error, but it doesn't really tell me much about what's wrong. 1>CollisionSystem.obj : error LNK2019: unresolved external symbol…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-11-15T06:23:57.23+00:00
k b 0 Reputation points
commented 2025-11-18T08:00:18.4566667+00:00
Gade Harika (INFOSYS LIMITED) 1,795 Reputation points Microsoft External Staff
1 answer

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…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-06-13T07:49:35.55+00:00
Yang, Yi (RC-CN DI FA R&D SW) 20 Reputation points
commented 2025-11-18T06:04:44.8566667+00:00
Adiba Khan 1,440 Reputation points Microsoft External Staff
1 answer

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…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-06-10T14:11:46.0766667+00:00
Dev 0 Reputation points
commented 2025-11-18T05:32:07.9566667+00:00
Susmitha T (INFOSYS LIMITED) 1,620 Reputation points Microsoft External Staff
0 answers

Heap Corruption after using CfUpdatePlaceholder

I can reliably crash .NET and C++ packaged applications (MSIX) on Windows 11 24H2 with Heap Corruptions, when updating Cloud Filter mini-driver placeholder files using CfUpdatePlaceholder. Repro: https://github.com/iterate-ch/CloudFiles-HeapCorrupt The…

Developer technologies | .NET | Other
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
4,148 questions
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2024-11-18T10:56:16.9033333+00:00
Jöran Malek 96 Reputation points
commented 2025-11-18T04:52:40.0633333+00:00
sysadmin 40 Reputation points
1 answer

DWMWA_USE_IMMERSIVE_DARK_MODE confusion

Hi I have a C++ Windows app (Qt) that uses Win32 titlebars and I'm working on adding dark theme support for it. I learned that you can set DWMWA_USE_IMMERSIVE_DARK_MODE attribute on a window so that title bars will be rendered in dark theme but I have a…

Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2022-08-13T14:14:39.78+00:00
a b 21 Reputation points
commented 2025-11-17T18:38:13.1933333+00:00
kcdopt 0 Reputation points
2 answers

App can not quit and blocked in NtTerminateProcess

Here is the call stack: # Child-SP RetAddr : Args to Child : Call Site 00 000000a9`de2ffaa8 00007ff9`762918ab : 00000000`00000000 00000000`00000000 ffffffff`fffffffe…

Developer technologies | C++
Developer technologies | 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.
4,033 questions
asked 2025-10-31T06:20:07.5066667+00:00
Lowell Liu 61 Reputation points
commented 2025-11-17T14:03:50.4133333+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 1,115 Reputation points Microsoft External Staff