3,773 questions with C++-related tags

Sort by: Updated
1 answer

UWP pipe client and C++ Fulltrustprocess pipe server - Access to the path is denied

Hello UWP experts, I get "Access to the path is denied" when connecting a UWP namedpipeclient to C++ Fulltrust process namedpipe server in packaged (WAPP) and non packaged mode. Its a simple piece of code to see how the namedpipe works betweek…

Universal Windows Platform (UWP)
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,661 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,046 questions
C++
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.
3,773 questions
asked 2024-11-19T04:13:17.18+00:00
DotNET Fan 271 Reputation points
commented 2024-11-20T09:13:14.5466667+00:00
Darran Rowe 1,041 Reputation points
1 answer

How to customize title color for MFC ribbon bar

In an MFC MDI with ribbon bar project created with AppWizard, how to change background color of title area?

C++
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.
3,773 questions
asked 2024-11-20T04:33:53.35+00:00
BorisM 21 Reputation points
answered 2024-11-20T07:21:46.4933333+00:00
Minxin Yu 12,096 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Can native Win32 exe show a WinUI3 Page?

I need to show a WinUI3 page from a native Win32 exe. I cannot make modifications to the Win32 exe. The architecture is like this: native Win32 .exe -> links to a C++/CLI dll with a known native C++ interface C++/CLI dll -> references and makes…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,942 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,661 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
338 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,046 questions
C++
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.
3,773 questions
asked 2024-11-18T15:30:26.94+00:00
Eric Brandt 25 Reputation points
edited a comment 2024-11-19T22:01:28.0833333+00:00
Eric Brandt 25 Reputation points
1 answer One of the answers was accepted by the question author.

Is there a sample MAUI application to call c++ libarary

I have a cross-platform library written with C++, I use this library to create model and display it with OpenGL. Now I'd like to choose MAUI to create a desktop application and call above library to complete interactions. Now I need a sample for…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,639 questions
C++
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.
3,773 questions
asked 2022-06-13T02:36:40.78+00:00
Yang Yang 46 Reputation points
edited a comment 2024-11-19T16:50:13.2333333+00:00
Brian Johnson 0 Reputation points
1 answer

How to disable frame (and titlebar) but keep resizing and snap features when using SendMessage to drag the window?

I'm trying to disable the titlebar (and frame), but keep the ability to resize the window and have it so the snap layouts work when triggering SendMessage. I have the trigger work, but when I remove all the bit flags returned from GetWindowLong that gets…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,661 questions
C++
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.
3,773 questions
asked 2024-11-19T04:56:46.9233333+00:00
Stanlyhalo 0 Reputation points
edited an answer 2024-11-19T10:50:28.3066667+00:00
Castorix31 86,041 Reputation points
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…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,535 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,942 questions
C++
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.
3,773 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,999 questions
asked 2024-11-18T10:56:16.9033333+00:00
Jöran Malek 76 Reputation points
edited a comment 2024-11-19T10:22:45.9566667+00:00
Jöran Malek 76 Reputation points
0 answers

/MT and /MD question

I build on windows and use cmake vs2022 I try to build cef project and it always show 命令列 warning D9025: 覆寫 '/MD',以 '/MT' Is it possible for four case? /MT => generate static lib /MT => generate dynamic lib /MD => generate dynamic lib /MD…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
C++
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.
3,773 questions
asked 2024-11-19T00:39:07.44+00:00
alice alice 40 Reputation points
commented 2024-11-19T10:08:08.2866667+00:00
RLWA32 45,701 Reputation points
1 answer

Windows can't install Visual C++

Whenever I try to install Microsoft Visual C++ 2015-2022 Redistributable it tells me that "The feature you are trying to use is on a network resource that is unavailable. It then tells me it was unable to uninstall a previous version. I've tried…

C++
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.
3,773 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,053 questions
asked 2024-11-18T19:38:01.4966667+00:00
Marcus Ohlhauser 0 Reputation points
edited an answer 2024-11-19T08:10:20.68+00:00
Tianyu Sun-MSFT 31,406 Reputation points Microsoft Vendor
1 answer

Help Identifying the Visual C++ Redistributable Version for vcruntime140.dll (14.40.33810.0)

I need help identifying the specific Visual C++ Redistributable version and its associated Visual Studio version for the following file on my system: • File Name: vcruntime140.dll • File Version: 14.40.33810.0 Could you let me know: Which Visual Studio…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
C++
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.
3,773 questions
asked 2024-11-18T11:39:59.7166667+00:00
Praveena S Kumar 0 Reputation points
answered 2024-11-18T12:52:05.9+00:00
Olaf Helper 45,121 Reputation points
0 answers

After VS2022 version 17.12.0 update Address Sanitizer no longer works for my C++ project

I've just updated visual studio to the version in the topic and the project which worked ok 5 minutes ago with Asan on (/fsanitize=address) now throws this error when starting the debugger: The procedure entry point __sanitizer_ignore_free_hook____dll…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
C++
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.
3,773 questions
asked 2024-11-13T12:56:41.03+00:00
Andrei Hanganu 0 Reputation points
edited a comment 2024-11-18T08:43:26.48+00:00
Tianyu Sun-MSFT 31,406 Reputation points Microsoft Vendor
1 answer

cannot open source file "iostream". Please run the 'Select IntelliSense Configuration...'

This problem popped up out of nowhere in the middle of October. " cannot open source file "iostream". Please run the 'Select IntelliSense Configuration...' command to locate your system headers.C/C++(1696) " I'm getting this error…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
C++
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.
3,773 questions
asked 2024-11-16T00:21:18.11+00:00
Justin C 0 Reputation points
answered 2024-11-18T01:50:35.75+00:00
Tianyu Sun-MSFT 31,406 Reputation points Microsoft Vendor
0 answers

MediaFoundation: TimeStamp of first frame is not getting correctly set to 0. Instead, it is getting set as 0.0333 (frame duration)

I'm trying to read two frames, each individually stored in binary files named frame1.bin and frame2.bin, and create an MP4 video file called sample.mp4. Here's what I'm doing: I read a frame, associate it with its respective timestamp, and write it to…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
798 questions
C++
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.
3,773 questions
asked 2024-11-11T10:46:09.8533333+00:00
Eswaramoorthy K 0 Reputation points
commented 2024-11-15T06:18:59.53+00:00
Jeanine Zhang-MSFT 9,866 Reputation points Microsoft Vendor
0 answers

OpenEventLog returns RPC_S_SERVER_UNAVAILABLE on Windows 24H2

We have a tool that parse data from the eventlog. However this has stopped working to access remote servers when run Windows 24H2 machines, with either of the following errors: RPC_S_SERVER_UNAVAILABLE RPC_X_BAD_STUB_DATA The following application…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,661 questions
C++
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.
3,773 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,999 questions
asked 2024-11-13T12:07:58.58+00:00
Ljungberg, Ted 0 Reputation points
commented 2024-11-15T05:48:12.8333333+00:00
Jeanine Zhang-MSFT 9,866 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to pass an range directly to a C++ DLL/dylib on Excel for Mac?

Hi, I'm trying to extend Excel using C++ on a Mac. I basically want to pass a range directly to a function written in a C++ dylib. So far I have been able to pass arrays of basic types such as Doubles and Integers successfully. However, looping through a…

C++
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.
3,773 questions
asked 2021-06-27T04:49:53.577+00:00
Paulo Bueno 96 Reputation points
commented 2024-11-15T04:26:11.7733333+00:00
Paulo Bueno 0 Reputation points
1 answer

Visual c++ merge modules

From where can I get the v143 visual c++ merge modules for x64.I found it in Program Files\Microsoft Visual Studio\2022\Professional\VC\Redist\MSVC\v143\MergeModules. But the merge module in them contain dll for both amd64 and arm64, can i get merge…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
C++
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.
3,773 questions
asked 2024-11-11T13:05:00.4733333+00:00
Bevan Thomas 40 Reputation points
edited a comment 2024-11-11T16:07:32.52+00:00
Darran Rowe 1,041 Reputation points
0 answers

why some language will change when remove some code?

in some contries language like Arab the text will change its shape when remove some of them. مرحبا I just remove last one مرحب the first will change too I remove again. مرح you can see it totally changed. حبا to ح what I want to do is to create each…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,661 questions
C++
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.
3,773 questions
asked 2024-11-08T02:58:22.0466667+00:00
mc 4,716 Reputation points
commented 2024-11-09T23:01:49.48+00:00
Darran Rowe 1,041 Reputation points
1 answer

Issues with GetAppLicenseAsync in MFC C++ Application.

In the application, there is an MFC project and a Windows Runtime Component (Universal Windows) project, see my previous question…

C++
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.
3,773 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
346 questions
asked 2024-10-31T21:24:39.75+00:00
Ming Yu 20 Reputation points
commented 2024-11-08T14:47:25.6766667+00:00
Ming Yu 20 Reputation points
1 answer

Windows 11 22H2 has a different way of using the JS engine?

Dear support, Our company has a solution built on a WebBrowser that will use the JS engine. After upgrading to Windows 11 22H2, we found that the solution behaves differently from before. We did some research, and then found that Windows 11 22H2 has…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,046 questions
C++
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.
3,773 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,999 questions
asked 2022-11-02T01:24:42.513+00:00
Julie Jiang 6 Reputation points
commented 2024-11-08T14:21:21.4833333+00:00
Philippe Majerus 0 Reputation points
1 answer One of the answers was accepted by the question author.

WxWidgets App build Error Visual Studio 2019

I built a wxwidgets c ++ program with visual studio 2019, on my pc there were no problems, but when i tried to start it on another pc i got a missing libraries message. I searched the internet and was advised to change the code generation settings from…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
C++
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.
3,773 questions
asked 2021-05-26T09:10:19.387+00:00
Filippo Taurian 41 Reputation points
accepted 2024-11-08T09:47:30.0333333+00:00
Filippo Taurian 41 Reputation points
1 answer One of the answers was accepted by the question author.

vcruntime140_1.dll not found

I have a wix project to which i include Microsoft_VC141_CRT_x64.msm and Microsoft_VC141_MFC_x64.msm merge modules but i still get the error mfc140u.dll and vcruntime140_1.dll not found. What is the issue here?are these dlls not part of these merge…

C++
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.
3,773 questions
asked 2024-11-08T05:28:01.0466667+00:00
Bevan Thomas 40 Reputation points
accepted 2024-11-08T08:46:17.7766667+00:00
Bevan Thomas 40 Reputation points