2,978 questions with Windows development | Windows API - Win32 tags
Is the WinRTC project still active?
MS was at one time sponsoring a WinRTC project (https://learn.microsoft.com/en-us/winrtc/). It even had an email address "WinRtcTeam@microsoft.com." The email address seems to be no longer active. Is the WinRTC project still…
Windows development | Windows API - Win32
SCardTransmit with AID of U2F failing
Hello Windows Experts, I am using the SCardTransmit function from winscard.h to send APDUs to my U2F Device. The Device is connected via NFC with a Sony RC-S380 Reader. Selecting an arbitrary applet works normally. Except with the single required…
Windows development | Windows API - Win32
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.
Live resize of transparent D3D11/WUC window causes swap chain content to stretch/shrink from left/top edges
Hello, I have a Win32 window with WS_POPUP, WS_EX_NOREDIRECTIONBITMAP, and a custom title bar. I render using Direct3D 11 with a swap chain created by CreateSwapChainForComposition, combined with Windows.UI.Composition (WUC). The window has an acrylic…
Windows development | Windows API - Win32
Logging to stderr and corresponding character encoding
I am working on the following Windows apps: Interactive: entry point - wWinMain Non-interactive: entry point - wWinMain; A pure background app with no windows or a Windows service. Command line app: entry point - wmain As evident with the entry…
Windows development | Windows API - Win32
ODBC driver msi Installation is failing in wix exe bundle package
Hi Team, I have created a Wix bundle exe package. In that i'm un installing older version of ODBC driver & trying to install newer version of ODBC driver. Older version un installation is working fine, but Newer version installation is failing. Below…
Windows development | Windows API - Win32
SampleV2CredentialProvider does not work on windows 11
Hello, I was trying to implement a 3rd party credential provider and wanted to run the sample before modifying it, on my windows11vm. I built it within the VM using visual studio 2022, but it did not change my logon screen. I have placed the DLL in…
Windows development | Windows API - Win32
What is the security boundary of Windows Hello KeyCredentialManager credentials for desktop apps?
I am evaluating Windows Hello / KeyCredentialManager for a desktop application that protects high-value local secrets encrypted at rest. The application creates a local master key and stores it encrypted. One unlock path is password-based. Another unlock…
Windows development | Windows API - Win32
Required sdk
Good morning, In visual studio enterprise 2019, I have three "command line" projects in C++. Two of the projects are Windows services and only one a utility which could be launched from command line. For building them I'm using SDK…
Windows development | Windows API - Win32
how to fix a helpfile not showing Jagannatha Hora 8.0
how to fix a helpfile not showing Jagannatha Hora 8.0 software
Windows development | Windows API - Win32
[VSS] Why catalog is corrupted, and how to repair the corrupted Catalog?
According to libvshadow document, the VSS volume header is stored at offset 0x1E00 and it contains catalog offset. The catalog contains information about the individual stores, serving as an another way to analyze shadow copies. However, we found that…
Windows development | Windows API - Win32
Disable Wi-Fi and Trigger a One-Time Safe Boot (No Loop)
I need a command line .bat file that will: Disable wifi at the user settings level (basically turn off the setting as if you opened task bar and clicked it) Enable safe mode for a ONE TIME reboot that will not carry over on the next restart from…
Windows development | Windows API - Win32
Using variadic parameters in MFC / C++20 application
I have a MFC application, but it is configured to build with the C++ 20 standard. Where useful I try to use the newer constructs. Today, I decided to try and implement some variadic functions. This is what I have so far: void…
Windows development | Windows API - Win32
run msix packaged app as admin
Hello, To update my msix packaged app to run as Admin, what are my options? The app is a single exe, .Net Framework 4.8 WinForms, already set as runFullTrust. Set <requestedExecutionLevel level="requireAdministrator"…
Windows development | Windows API - Win32
Windows 11 24/25H2 : When our application is reinstalled VCruntime140.dll, msvcp140.dll and some other dlls are not getting copied.
Hi All, When our application is reinstalled VCruntime140.dll, msvcp140.dll and some other dlls are not getting copied under c:\windows\system32\ as expected. our installer is using merge modules internally to copy these dlls. when the application…
Windows development | Windows API - Win32
System.Threading.Tasks.TaskCanceledException
我的代码: using System.ComponentModel; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; namespace CancelTokenTest { public partial class MainWindow : Window { private…
Windows development | Windows API - Win32
XInput on Windows 10+: Gamepad controller stops rumbling after using Alt-Tab back and forth
I'm writing a C/C++ application based on the win32 API along with XInput. Issue: I'm using XInputSetState once to set the rumble motors speed, however they stop when the app loses the focus even if it regains it after that. I would expect that regaining…
Windows development | Windows API - Win32
How to Create custom shadows on windows
Hello, I'm trying to create a GUI Framework where I'm using D2D with Direct Composition to Draw the window instead of relying on GDI and I managed to do that but I also want to add custom shadows to the window instead of the bad shadows of windows but I…
Windows development | Windows API - Win32
How to fix size flickering on My D2D application
Hello, Right now I have a Direct2d application that basically aims to draw the window using D2D instead of GDI so I have used Direct3d on top of Direct 2d This is cool and it actually worked well The problem right now is that When I resize the Window a…
Windows development | Windows API - Win32
How does OneDrive pin itself in the Home/Gallery area of Windows explorer?
OneDrive appears below home and gallery, in a section above everything else I have my own cloud sync engine, and I want it to appear in this area too, currently it appears 2 sections below
Windows development | Windows API - Win32
MSFT_Disk to MSFT_PhysicalDisk
Hello, because MSFT_PhysicalDisk does not have IsSystem like MSFT_Disk, how can I get MSFT_Disk WHERE IsSystem = TRUE and correlate it to MSFT_PhysicalDisk to be sure it's always reliable under all conditions/configurations? Using MySearcher1 As New…