WebauthN c++ Native Windows API in credential provider
Hi team, I've made a simple console application that calls Windows WebAuthn API's WebAuthNAuthenticatorGetAssertion() which will display CredentialUIBroker.exe to authenticate with an external FIDO2 security key and platform Windows authenticator…
Calling Windows WebAuthn API in Custom Credential Providers
I've made a simple console application that calls Windows WebAuthn API's WebAuthNAuthenticatorGetAssertion() which will display CredentialUIBroker.exe to authenticate with an external FIDO2 security key. I'm trying to integrate that application with my…
C++ How to get layered window content image?
My goal is to get an HDC of an image or image of the contents of a layered window in Windows 7 and above. I tried PrintWindow(hwndMag, hdcDest, PW_RENDERFULLCONTENT), but this requires Windows 8.1. Note that layered windows may contain transparency, or…
Is it possible to implement deep linking in Windows app? I have created a Flutter app, and I want to do deep linking.
Could you please help, Is it possible to implement deep linking in a Flutter app on the Windows platform?
C++/CLI breakpoints not stopping
I try to debug an extension for Visual Studio (2019/2022) that I wrote in C++/CLI. Now... the extension itself works. The only problem is, that I cannot jump into the code while it is executing. The breakpoints never stop. But, when I create a C#…
Why does my transparent-background window turn into black screen after window ghosting?
I have a pop-up window that acts as a watermark on my application over a parent window. It has a transparent background (WS_EX_TRANSPARENT), but when the application becomes non-responsive, Windows adds a ghost window with a black background. I tried…
Windows API's CreateFile with CFile gives invalid path error if used drives created with SUBST
A drive is created for a folder using SUBST command. We have a Windows application which reads contents of the and performs some operations. Application does not give any error when read the file path is from actual drive. But when try to read from drive…
error: command 'D:\\......\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX86\\x64\\cl.exe' failed with exit code 1
when i use 'python setup.py build develop' to Compile the cuda dependencies,it gives me this error: ........lib\model\csrc\cpu\ROIAlign_cpu.cpp : fatal error C1083: 无法打开编译器生成的文件: “”: Invalid argument error: command…
The scrollbars are not always visible until I resize the CDialog
My dialog resource is set to display both the horizontal / vertical scrollbars. And you can resize the window. In OnInitDialog I call the following code: void CResizingDialog::InitScrollBars() { const SIZE sz = { m_rcInit.Width(), m_rcInit.Height()…
Як виправити помилку С2731: 'mian': function can be overloaded
int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); ```}
How to create a new dll file in vs2022
How to create a new dll file in vs2022, why after I created a new dll file, the compiler reported error C1854: The information formed during the precompilation header process of creating the object file "pch.obj" could not be overwritten.
Error squiggle not showing in visual studio code
Can't see error squiggles I have three files in my new C++ empty project, two of which are main.cpp and functions.cpp. I can see error squiggles in main.cpp but it is not in functions.cpp. The show squiggle option is on.
Application crashing -The process was terminated due to an unhandled exception.
Environment : OS Microsoft Windows Server 2019 Dotnet framework: 4.7 SQL : SQL Server 2019 Note: Previously our application was working fine in 2016 OS. Once we upgraded to OS 2019 we are facing below issue Application level - Event viewer log Faulting…
How to add an application SID to component services DCOM Config security permissions?
How to add an application SID to component services DCOM Config security permissions? I have a COM Service which is logon as Network Service and I want to start another COM application(with DCOM) in this Service with CoCreateInstance, Local…
How to hook the ItaskbarList4 class?
I'm trying to customize the taskbar buttons, for this i'm hooking the ItaskbarList4 class using Detours, however, the functions on MyTaskbarList isn't getting called, trying to figure out what's wrong: inline HRESULT(WINAPI* CoCreateInstance_O)(REFCLSID…
Is there any way to disable loading of satellite DLLs for MFC programs?
According to this help page, any application or DLL created with MFC will attempt to load localized resources from satellite DLLs such as exampleENU.dll or exampleLOC.dll. We have built a legacy application using MFC, but we do not use this particular…
How to use c++ 20 modules in shared libraries ?
Hello everyone, I am currently working on a test-project where I want to use shared libraries and I would like to leverage the new C++20 modules feature. However, I am having some difficulty understanding how to properly set up my code to use C++20…
Visual Studio debugger will not step into code of a separate project that builds to a dll (within the same solution)
I have two projects in one solution. One compiles into an exe which depends on the other project that compiles into a dll. When I try to step into a function from the dll that is called within the exe code, it skips over it. My pdb file for the dll is…
How to add custom parameter and its corresponding value in the HTTP header using the Windows-win32-webservices.h library
I have implemented a SOAP web service client in C++ using MS Visual Studio 2019 and library “WebServices.h”, in order to consume a SOAP web service. SOAP webservice that I am consuming requires a custom parameter and its corresponding value in the HTTP…
Visual C++ vc_runtimeminimum_x64.msi Error
When trying to uninstall Visual C++ I get the following error: Here are the remaining versions of Visual C++ on my device: When trying to install the latest Visual C++ I get this error: I attempted to use the Program Install…