2,849 questions with Windows development | Windows API - Win32 tags

Sort by: Updated
0 answers

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
asked 2025-10-17T20:52:08.8666667+00:00
ChuckieAJ 316 Reputation points
commented 2025-10-17T23:16:29.2533333+00:00
RLWA32 50,736 Reputation points
0 answers

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
asked 2025-10-16T18:52:51.8433333+00:00
Adipose 0 Reputation points
commented 2025-10-17T12:25:50.7033333+00:00
David Lowndes 2,665 Reputation points MVP
3 answers

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
asked 2025-10-15T00:30:56.5433333+00:00
Ben S 0 Reputation points
commented 2025-10-17T11:31:23.96+00:00
Omkara Varshitha Kunapalli (INFOSYS LIMITED) 1,200 Reputation points Microsoft External Staff
0 answers

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
asked 2025-10-17T07:00:03.59+00:00
Daniele Lugli 0 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-10-13T22:46:09.5533333+00:00
sysadmin 40 Reputation points
accepted 2025-10-16T22:31:40.76+00:00
sysadmin 40 Reputation points
2 answers

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
asked 2021-03-14T13:12:24.02+00:00
youki 1,021 Reputation points
edited a comment 2025-10-16T09:12:52.3833333+00:00
Alx24 0 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-10-11T23:21:39.3133333+00:00
Ken Seaton 20 Reputation points
commented 2025-10-16T08:33:01.5066667+00:00
Ken Seaton 20 Reputation points
0 answers

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
asked 2025-10-11T01:47:14.8866667+00:00
Rory Driscoll 0 Reputation points
edited the question 2025-10-16T00:13:11.6133333+00:00
Haytham-C 3,350 Reputation points Microsoft External Staff Moderator
0 answers

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
asked 2025-10-15T18:11:50.87+00:00
David Stegaj 0 Reputation points
0 answers

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
asked 2025-10-14T16:26:30.6233333+00:00
O V, Naveen 20 Reputation points
commented 2025-10-15T09:08:15.2466667+00:00
Viorel 124.9K Reputation points
1 answer

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
asked 2025-10-13T07:18:57.3433333+00:00
answered 2025-10-15T03:22:31.4633333+00:00
Linhnguyen Hanoi 0 Reputation points
5 answers One of the answers was accepted by the question author.

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
asked 2024-12-12T12:09:00.7133333+00:00
Simon Fonteneau 100 Reputation points
accepted 2025-10-14T20:33:07.2766667+00:00
Simon Fonteneau 100 Reputation points
0 answers

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
asked 2025-10-12T13:52:14.3833333+00:00
Jono 20 Reputation points
commented 2025-10-14T16:45:51.79+00:00
Joseph Rizzo 5 Reputation points
2 answers

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
asked 2025-10-12T15:45:12.4266667+00:00
QuiesceJ 0 Reputation points
recommended 2025-10-14T03:47:57.77+00:00
Lynn Dang (WICLOUD CORPORATION) 0 Reputation points Microsoft External Staff Moderator
0 answers

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
asked 2025-01-09T12:51:37.7033333+00:00
Harshal Goyal 20 Reputation points
commented 2025-10-11T14:08:47.08+00:00
Anonymous Anonymous 0 Reputation points
0 answers

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
asked 2025-10-10T14:52:15.5366667+00:00
Alan Barlow 0 Reputation points
5 answers One of the answers was accepted by the question author.

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 for business | Windows Server | Devices and deployment | Configure application groups
Windows development | Windows API - Win32
asked 2021-07-23T14:53:06.97+00:00
Stan Morisse 36 Reputation points
answered 2025-10-09T14:37:53.2266667+00:00
Leigh Bennett 0 Reputation points
0 answers

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
asked 2025-10-09T00:28:24.6333333+00:00
JohannesK71083 0 Reputation points
1 answer

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 for business | Windows Client for IT Pros | User experience | Other
Windows development | Windows API - Win32
asked 2022-11-04T09:57:52.63+00:00
Ao Zhang 1 Reputation point
commented 2025-10-07T08:52:51.8566667+00:00
John Westfield 0 Reputation points
0 answers

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…

Developer technologies | C++
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.
4,014 questions
Windows development | Windows API - Win32
asked 2021-08-06T16:09:04.423+00:00
RLWA32 50,736 Reputation points
commented 2025-10-06T19:57:01.4733333+00:00
Darran Rowe 2,451 Reputation points