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

Sort by: Updated
1 answer

AMSI.DLL stack overflow exception is shown in MFC VC++ based desktop application unexpected crash

SUMMARY     Our MFC VC++ based desktop application (OmniServer) is crashing unexpectedly and showing the errors related to amsi.dll, and our application crashes in the Windows event viewer logs and application crash dump logs, indicating a stack overflow…

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,029 questions
asked 2025-12-19T13:12:49.1033333+00:00
Pandurang Lobhe 5 Reputation points
answered 2025-12-19T13:46:40.97+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 1,465 Reputation points Microsoft External Staff
2 answers

How to compile C program developed with Microsoft Visual C/C++ 6.0 in Linux system

I need to compile C program developed with Microsoft Visual C/C++ 6.0 in Linux system? Thanks, Fen

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,029 questions
asked 2025-12-12T13:42:37.8166667+00:00
Yang, Fen - BLS CTR 0 Reputation points
commented 2025-12-19T05:08:10.4866667+00:00
Susmitha T (INFOSYS LIMITED) 1,885 Reputation points Microsoft External Staff
1 answer

facing problem in running code on vs code editor

when i run my first code on vs code editor , it shows error like your mingw compiller doesn't properly installed but i did everything that i know about it . there is screen shot i pasted below :- i'm in too much trouble .. please solve my this…

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,029 questions
asked 2025-12-18T19:55:18.7066667+00:00
subham kumar 0 Reputation points
edited the question 2025-12-18T20:31:00.3033333+00:00
MS Advertising - Marvin 155 Reputation points Microsoft External Staff Moderator
1 answer

Future Support for int128 in MSVC and C++ Standard Roadmap

Hi , We currently rely on a custom implementation for 128-bit integer support in our cross-platform codebase, due to the absence of native int128/uint128 support in MSVC. Could you please confirm: Is there any plan or intent within Microsoft to support…

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,029 questions
asked 2025-04-17T05:49:59.5666667+00:00
Abhishek K 10 Reputation points
answered 2025-12-18T17:31:31.3866667+00:00
Spencer Simpson 0 Reputation points
2 answers

How do I get MFC into Visual Studios?

I just downloaded C++ visual studios and want to use the windows file open dialog box. I understand it can be access by way of the MS Foundation Claas library, but I cannot figure out a way to get it onto my pc. So, how do I get MFC into 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,029 questions
asked 2025-12-11T21:12:33.12+00:00
Phil Lyle 0 Reputation points
commented 2025-12-15T21:14:23.2933333+00:00
RLWA32 51,536 Reputation points
1 answer

Arduino Joy Stick program that is supposed to draw lines on a Windows GUI app screen is not working

Hi Microsoft team I have a Arduino connected Joy Stick that Writes X and Y cordinate data to the Serial Monitor on Joy Stick Move , but when I read that data from a Windows GUI app in order to get it to draw on the windows GUI APP nothing happens …

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,029 questions
asked 2025-12-04T02:55:53.32+00:00
Joseph RW 105 Reputation points
commented 2025-12-15T06:54:40.8433333+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 1,465 Reputation points Microsoft External Staff
0 answers

[[likely]] attribute not working with MSVC

C++20 has introduced the [[likely]] attribute, I wanted to see the difference is the assembly and wrote a simple code: int If (bool pFlag) { if (pFlag) return 3214; else return 19862; } int IfLikely (bool pFlag) { if (pFlag)…

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,029 questions
asked 2025-12-05T07:42:03.6466667+00:00
Smit Himanshu Shah 46 Reputation points
edited a comment 2025-12-14T17:49:52.12+00:00
Darran Rowe 2,531 Reputation points
4 answers

ACEOLEDB.DLL from Microsoft 365 Apps crash with Exception code 0xc0000005

ACEOLEDB.DLL from Microsoft 365 Apps (at least versions 16.0.14228.20248, 16.0.14430.20006, 16.0.14701.20040 in "C:\Program Files\Microsoft Office\root\VFS\ProgramFilesCommonX64\Microsoft Shared\OFFICE16\") appear to cause an application crash…

Microsoft 365 and Office | Access | Development
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,029 questions
asked 2021-12-29T20:18:30.603+00:00
Jmenninkainen 31 Reputation points
edited a comment 2025-12-13T07:26:55.2666667+00:00
David Lightstone 50 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,029 questions
asked 2025-11-26T12:45:57.0333333+00:00
monica goel 0 Reputation points
commented 2025-12-12T03:48:59.7233333+00:00
Harry Vo (WICLOUD CORPORATION) 3,910 Reputation points Microsoft External Staff Moderator
1 answer

Program crash when creating MagnificationAPI window in Windows 11

While executing the following statement, programs on the target computer crash without warning and without a runtime error pop-up box. hwndMag = CreateWindow(WC_MAGNIFIER, TEXT("IdtScreenMagnifierMag"), WS_CHILD | MS_CLIPAROUNDCURSOR |…

Windows development | Windows API - Win32
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,029 questions
asked 2024-07-05T04:07:40.6+00:00
RL Chen 265 Reputation points
commented 2025-12-09T05:17:17.6166667+00:00
RL Chen 265 Reputation points
0 answers

windows credential provider using PKINIT and implicit mapping

I am developing a windows credential provider aiming at supporting CPUS_LOGON/CPUS_UNLOCK_WORKSTATION using certificate PKINIT and implicit mapping. The certificate used for login is a short-term certificate stored in LocalMachine/My CNG store. My…

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,029 questions
asked 2025-12-08T11:18:59.3233333+00:00
Peter Buus 0 Reputation points
answered 2025-12-08T11:19:09.5166667+00:00
Q&A Assist
1 answer One of the answers was accepted by the question author.

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,029 questions
asked 2025-11-29T22:06:29.1166667+00:00
JAMES MORGENSTERN 196 Reputation points
accepted 2025-12-05T14:29:19.8466667+00:00
JAMES MORGENSTERN 196 Reputation points
3 answers

MSVCRT40.DLL missing when installing software

Hello all, I'm trying to install a software that keeps giving me the message that "The file C:\Windows\System32\MSVCRT40.DLL could not be opened." Searching the web I got the information that this DLL is part of the Visual C++ packages. Which…

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,029 questions
asked 2025-10-07T14:05:13.0333333+00:00
SergioAAV 0 Reputation points
answered 2025-12-05T12:39:12.63+00:00
Sergio Augusto 0 Reputation points
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,029 questions
asked 2025-11-26T05:56:06.73+00:00
Lowell Liu 106 Reputation points
commented 2025-12-04T05:58:59.83+00:00
Adiba Khan 1,600 Reputation points Microsoft External Staff
3 answers One of the answers was accepted by the question author.

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,029 questions
asked 2025-11-26T05:53:22.2+00:00
Lowell Liu 106 Reputation points
commented 2025-12-03T02:42:46.3266667+00:00
Lachlan Lambkin 0 Reputation points
2 answers One of the answers was accepted by the question author.

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,029 questions
asked 2025-11-28T15:36:07.2+00:00
Alexander Tuzhik 30 Reputation points
commented 2025-12-02T12:57:27.3966667+00:00
Varsha Dundigalla(INFOSYS LIMITED) 4,215 Reputation points Microsoft External Staff
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,029 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,885 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,029 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,029 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

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,029 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,600 Reputation points Microsoft External Staff