2,849 questions with Windows development | Windows API - Win32 tags
Navigating a dialog with embedded children dialog
I have a simple MFC CDialog and it has a placeholder for a child CDialog. I have no problem creating and inserting the child dialog: The controls on the left are the child. What I am struggling with is allowing the user to navigate the dialog using the…
Windows development | Windows API - Win32
Listview with WS_EX_LAYOUTRTL and both scrollbars glitches when clicking on the horz scrollbar
I'm reporting a bug with native scrollbars in common controls (specifically listview, but probably other scrollable controls). The bug is reproduced with the following characteristics: Listview with BOTH horizontal and vertical scrollbars…
Windows development | Windows API - Win32
Windows 11 Alt+TAB ghost thumbnails
Hi, we are having an issue with our software on Windows 11 24H2 Alt+TAB function. When users do Alt+TAB, it creates additional thumbnails in the Alt+TAB view despite our application running once in a single window. This seems to happen if the window is…
Windows development | Windows API - Win32
Windows 11 — TBS (TPM Base Services) not present: support status and user-mode alternatives for NV / monotonic counter
Hello, I am developing a Windows 11 application that needs to manage a TPM 2.0 NV index / monotonic counter from user-mode (no custom drivers, no WSL). However, on all the W11 machines I can reach the TBS (TPM Base Services) appears to be missing: Checks…
Windows development | Windows API - Win32
How do I easily automate the publishing of a Microsoft Store app using Azure Devops pipelines?
I have an app which I can manually deploy the store easily by using the Visual Studio "create app package" feature and I have this automatically deploying to the store. Now, how can I make an Azure Devops pipeline do these exact same steps…
Windows development | Windows API - Win32
Find property for Touch-/ Trackpad by RawInputDeviceInfo to distinguish independent of the model/ manufacturer in registry
Hello, I want to recognize, if the input is coming from the touch-/ trackpad independent of the Laptop model/ manufacturer. Is it possible? I'm getting the devicename by RawInputDeviceInfo and i see that there is the possibility to compare it with…
Windows development | Windows API - Win32
how do i delete a project stored in the repos folder in visual studio
i want to create a new project but it wants to call its name the same as one i had already had. So i need to delete the existing one trying to do the in explrer and cmd.exe both refuse even when i am admin
Windows development | Windows API - Win32
Improper DirectX mesh shader topology warning on Windows 11
Hi, I have a problem where I'm receiving a topology error from DirectX: D3D12 ERROR: ID3D12Device1::CreateMeshShader_TopologyMismatch: Since the mesh shader specifies output topology of line, if the PSO desc ALSO specifies a primitive topology (even…
Windows development | Windows API - Win32
Who have problem with COMDLG32.OCX here is solution to fix
first download file from google COMDLG32.OCX step 2 go in system32 and paste 2 files step 3 reinstall game or application step 4 enjoy :)
Windows development | Windows API - Win32
Crash dumps are not generated when exception in code is occurred.
_set_se_translator function is used for setting a hook when an exception is triggered in the code. For testing, we have created an exception the code by null dereferencing. But, even after the SEH translator hook function is registered, the hook…
Windows development | Windows API - Win32
Is CAsyncSocket thread-safe when used with one thread for reading and one for writing?
Hello, We've been using CAsyncSocket in a multithreaded setup for some time — one thread dedicated to reading, and one handling writing. However, we've encountered an issue where the PumpMessage method occasionally stops receiving SELECT messages,…
Windows development | Windows API - Win32
IUpdate2::CopyToCache method Windows 11
It seems that this method no longer works on Windows 11: https://learn.microsoft.com/en-us/windows/win32/api/wuapi/nf-wuapi-iupdate2-copytocache Interface not registered Do you have an idea?
Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other
Expose the means to register an app as an option for Xbox Full Screen Experience
Based on the information in the docs about Xbox Fullscreen Experience (link), it seems like a 3rd party developer cannot register their launcher as a full screen experience home app: Quote: OEMs can configure the handheld so that it launches into a…
Windows development | Windows API - Win32
How to load OBM_OLD_ xxx bitmaps
Hello, I need some help with the LoadBitmap() API function. I want to load Windows 3.x bitmaps, but I get error code 6 (INVALID_HANDLE). This doesn't happen with contemporary bitmaps (e.g., OBM_REDUCE). Here is the short code I am testing. In your…
Windows development | Windows API - Win32
Issue with GetAddrInfoExW: Only Receiving IPv4 Addresses, Not IPv6
Hello, I'm using the GetAddrInfoExW function in my application to resolve both IPv4 and IPv6 addresses for a given hostname (e.g., google.com). However, I'm only receiving IPv4 addresses in the results, and I don't see any IPv6 addresses, even though I…
Windows development | Windows API - Win32
Media Player
Hello. I would like to know the seek time for Media Player when requesting a 'Start Position' via VBA. I am developing an audio application that is time sensitive and want to know if Media Player takes the same time to position itself to a requested time…
Windows development | Windows API - Win32
What is the autorenewal procedure for multiple certificates enrolled using the same certificate template?
Hi, At one of our customers, I think we might be running into a certificate autorenewal bug on our Windows server 2019 Webservers which are configured to use SSL certificates with autorenewal. Automatic rebinding of the certificate is enabled in IIS…
Windows development | Windows API - Win32
Windows for business | Windows Server | Devices and deployment | Configure application groups
PowerManager.EnergySaverStatus not working properly in Windows 11 Pro
UWP PowerManager.EnergySaverStatus always returns 'Off' in Windows 11 when battery is above 20% I am encountering an issue where the PowerManager.EnergySaverStatus UWP API incorrectly reports the energy saver state on Windows 11 devices when the battery…
Windows development | Windows API - Win32
How to use performance counters in different language environments?
Hi, I encountered some errors when I use "PdhAddEnglishCounterA" or "PdhAddCounterA" in performance counters. Everything is ok when I use "PdhAddCounterA" and correct English querying parameters in English…
Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other
Using an application manifest to disable window theming
According to application-manifests the disableTheming element is available. I added the necessary xml to my application manifest for a Win32 desktop application but it seems that disableTheming is ignored by the system. The xml that was added to the…
Windows development | Windows API - Win32
Developer technologies | C++