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

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Need a copy of Microsoft Visual C++ 2008 redistributable -x64 9.0.30729.17; version 9.0.30729.161 does not pass installshield.

Installshield is requiring Microsoft Visual C++ 2008 redistributable -x64 9.0.30729.17 to be installed. version 9.0.30729.161 does not satisfy installshield.

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,034 questions
asked 2026-01-03T08:55:29.13+00:00
BrianH 20 Reputation points
commented 2026-01-03T16:56:40.6966667+00:00
BrianH 20 Reputation points
2 answers

We are able get running COM Server object from client application while running at "LOCAL SERVICE", whereas client is not able to get existing running COM Server object while running at NT Service account. How can we resolve this?

I have configured a VC++ 2022 COM Exe Server in DCOM Config. COM Server Exe name: MyCare.exe Also I have created a wrapper service to host the COM exe during startup. Wrapper Service EXE Name: MyCareWrapperService.exe. I have created a Service…

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,034 questions
asked 2025-12-30T04:28:17.08+00:00
Sivalingam Somasundaram 0 Reputation points
commented 2026-01-03T11:14:20.2366667+00:00
RLWA32 51,636 Reputation points
2 answers

How to resolve a link error about a pointer?

Windows 11, Visual Studio 2022, C++, project type MFC Gosh, this is too long, but I have been struggling with it all day. I have tried to provide what seems to be essential but as short as I can. Setup: The project has several GUIs. One of the GUIs…

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,034 questions
asked 2026-01-02T06:45:14.3166667+00:00
Bryan Kelly 541 Reputation points
commented 2026-01-03T08:37:13.67+00:00
RLWA32 51,636 Reputation points
2 answers One of the answers was accepted by the question author.

How to use a non GUI class in a GUI project

I created a project using MFC and Windows Desktop Application.  There are several GUIs and they all work.  Then I realized that a major section of code should not be a GUI, just a regular class.  To test it I created a class then tried to call it from…

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,034 questions
asked 2025-12-31T03:39:52.9466667+00:00
Bryan Kelly 541 Reputation points
accepted 2026-01-01T00:18:06.9666667+00:00
Bryan Kelly 541 Reputation points
2 answers

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,034 questions
asked 2025-12-19T13:12:49.1033333+00:00
Pandurang Lobhe 5 Reputation points
commented 2025-12-31T11:01:16.3433333+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 1,570 Reputation points Microsoft External Staff
2 answers

what is the difference between Global Interface Table (GIT) and Running Object Table (ROT)?

what is the difference between Global Interface Table (GIT) and Running Object Table (ROT)?

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,034 questions
asked 2025-12-30T05:25:35.5+00:00
Sivalingam Somasundaram 0 Reputation points
answered 2025-12-31T07:39:02.6733333+00:00
Susmitha T (INFOSYS LIMITED) 2,115 Reputation points Microsoft External Staff
2 answers

Undocumented effect from /cgthreads when /LTCG, etc. are disabled

We're building a large C++ project with MSVC, and we've noticed that /cgthreads1 has an undocumented effect on build performance even when not using /LTCG, /GL, and MSIL inputs. Builds take longer, but consume less CPU. According to the documentation of…

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,034 questions
asked 2025-12-24T01:09:54.9566667+00:00
Matthew R 0 Reputation points
commented 2025-12-30T10:41:40.7333333+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 1,570 Reputation points Microsoft External Staff
3 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,034 questions
asked 2025-12-12T13:42:37.8166667+00:00
Yang, Fen - BLS CTR 0 Reputation points
answered 2025-12-27T17:57:28.65+00:00
Sheng Jiang 蒋晟 206 Reputation points
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,034 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,034 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,034 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,636 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,034 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,570 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,034 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
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,034 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) 4,500 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,034 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,034 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,034 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,034 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,034 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,034 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