CreateProcess on notepad.exe fails due to a crash in ApiSetHost.AppExecutionAlias.dll
Hi guys, First time I do a question here so hope it is in the right format. We have encountered a problem in which when calling CreateProcess() on notepad.exe fails due to a crash in ApiSetHost.AppExecutionAlias.dll. While have a couple of settings in…
signature verification issue with crypt32.dll CryptMsgControl api
We have an application which transfer EDI documents using AS2 protocol where When we send data to one of our business partner and try to verify the signature of the MDN that business partner return to us and we can`t verify the signature of the MDN that…
System.AccessViolationException when adding a new item in Visual Studio using IVsProject.AddItem
I'm encountering a System.AccessViolationException while working in Visual Studio 2022. The error occurs specifically when I try to add a new UI or CLR item to a project using the IVsProject.AddItem() method. Below is the full exception log: Aplicación:…
Why is the code #import "a.exe" causing a compiler error C1084?
I have inherited some old code and I am trying to compile it in VS 2019. I am getting a compiler error that complains about this line: #import "C:\usr\tyx\com\PublishersIO.exe" no_namespace The error is: 2>c:\users\jew\onedrive -…
Debugging in MFC code
I have the following code: CDBVariant var; std::unique_ptr<CRecordset> recordset = ... initialized recordset->GetFieldValue(i, var); And I got an error: I want to explore what is happen in CRecordset::GetFieldValue method, using debugging step…
Heur.AdvML.b virus detected by Norton on a newly compiled C++ console application in debug mode. The executable is marked as malware by several engines on virustotal.
Hi, I am trying to compile the following C++ program in Visual Studio 2019 community edition in debug mode. I am generating an x86 binary, but the problem exists with x64 binaries as well. #include <windows.h> #include <iostream> #include…
Can't install Visual C++ 2008 Redistributable.
I don't know what is "Microsoft.VC90.ATL",and I can't find it on Microsoft.
How can i check for /experimental:c11atomics flag inside code?
Hi Microsofters, I have a problem when compiling C code for more than 2 weeks to catch whether /experimental:c11atomics is set for msvc inside code. I tried checking for __STDC_NO_ATOMICS__ macro but in vain. Could anyone please give me any tip how to…
Why doesn't GetNameInfo win32 api resolve Chinese computer names on Windows 11?
0 I have a small lab based Active Directory environment with 3 devices. They have the following OS installed. DC running Windows Server 2022 hosting my AD server. 1.Endpoint running Windows 10 Pro (22H2 Build 19045.4780) [English US installation and…
Crash issue from Microsoft official Win32 C++ custom WinRT XAML control tutorial
Build was ok, but got a crash after following the official Microsoft official Win32 custom WinRT XAML control tutorial https://zcusa.951200.xyz/en-us/windows/apps/desktop/modernize/xaml-islands/host-custom-control-with-xaml-islands-cpp: Clicking…
Issues with RequestPurchaseAsync in MFC C++ Application
An app has been published in the Partner Center, and an addon submission has been created. This is the addon subscription overview. In the application, there is an MFC project and a Windows Runtime Component (Universal Windows) project, as depicted…
Zombie COM Surrogate (WinInetCacheServer) processes when running MAPI in a 64-bit MFC Application via Task Scheduler
I have a 32-bit C++ MFC Windows application that calls MAPI via the Windows MAPI API. Recently, I compiled the application to 64-bit, and it runs fine when launched manually. However, when I schedule the same 64-bit version to run via Windows Task…
'SysListView32' Bug with multiple items selection: still not fixed in Windows 11 23H2
When I use our own 32 bit application, the mouse cursor still jumps to a corner when I do the lasso selection in a listview (click and drag a rectangle to select multiple listview items). From what I've found in the internet, the program might use a…
Issue with x64 and commctl32.dll
I am building a x64 project, i am using #pragma comment(linker,"/manifestdependency:"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df'…
Problem with HLSL shaders.
I'm working with D3D12, and I've run into another problem. I managed to fix my command list problem, but apparently something is going wrong with my shaders? My code currently is struct Vertex { DirectX::XMFLOAT3 position; // 3D position …
How to print the coverage report while using libfuzzer with MSVC?
While using libfuzzer with MSVC the coverage section is empty. Is there a way to print the coverage report with libfuzzer & MSVC?
Conflict Between /MT and /MD When Using Windows.winmd with Third-Party Libraries
Hi everyone, I am currently working on a project using C++/CX that interacts with the Windows WinMD, specifically within the Windows.Management.Deployment namespace. I’ve encountered a compatibility issue related to the runtime libraries. The third-party…
How to to fix this issue?
I tried downloading Visual Studio to my pc but I have this error popping up which I don't know how to fix. I've tried installing the package into my pc but it wouldn't complete. I've tried using the internet many times and asking a few people but it was…
Universal Windows Platform (UWP) API Call from C native console application - crash
Hi! Based on Microsoft Universal Samples (https://github.com/microsoft/Windows-universal-samples) I've created a static library(.lib) for geolocating on Windows 10/11. The library is linked into a Windows console application (.exe). I've tried with…
Not able to debug c++ code on visual studio 2022
I am developing android application using c# and c++. my application uses c++ library. whenever I select c++ debugger in android project properties window and i run my app in debug then I get an error which is attached as image to this question. I…