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…
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?
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…
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…
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…
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…
/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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…