Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Filter by
Sorted by
Tagged with
0 votes
1 answer
91 views

I'm getting many errors of the following type. Clearly, Microsoft has a definition of byte that clashes with Standard C++'s definition of std::byte (after a using namespace std, that I use in ...
Swiss Frank's user avatar
  • 2,524
0 votes
1 answer
49 views

I'm writing a Win32 C++ function to iterate Portable Devices. After successfully opening and connecting to the device, I need to release it. (There's also a Close() but Microsoft's documentation ...
gene b.'s user avatar
  • 12.6k
1 vote
0 answers
63 views

I want to write a small program to work with the EvtSubscribe function. However, I encountered a problem. Every time the callback function is called, I print a message to the screen and then call ...
SA AB's user avatar
  • 11
0 votes
0 answers
76 views

In a previous thread I asked about listing real filenames stored on a Portable Device (e.g. an MTP Digital Camera). Per my answer I can now traverse the file system and display real filenames. Now I ...
gene b.'s user avatar
  • 12.6k
0 votes
0 answers
179 views

This is a follow up to my previous question about creating a debugger for C source files in Python. The current issue I am facing is monitoring changes to variables. I want to monitor 8 variables say ...
user14773854's user avatar
1 vote
1 answer
62 views

I'm trying to get a hardware id with a .net console app (target framewotk is net8.0-windows10.0.17763.0). The code is rather trivial, just var token = Windows.System.Profile.HardwareIdentification....
Volker's user avatar
  • 1,849
0 votes
1 answer
119 views

With my code which is just a regular RAW input example.... WM_INPUT, RIM_TYPEMOUSE... I'm getting on Windows 10 the full 1,000Hz of my mouse and on Windows 11 I'm getting about 128Hz. How to fix this ...
Gr3g's user avatar
  • 31
2 votes
0 answers
88 views

I know you can use the Get-AppxPackage and Get-AppxPackageManifest cmdlets in Powershell to get the package family and it's specific application entry point. In this example with Windows Media Player ...
djsumdog's user avatar
  • 2,828
0 votes
1 answer
70 views

I have a win32 app opening a log file on a network share using CreateFile and WriteFile (non overlapped) to write records. What I am seeing when the network share is lost, WriteFile reports an error (...
Paul Marriott's user avatar
0 votes
0 answers
146 views

An application can carry out any system command at any time by passing a WM_SYSCOMMAND message to DefWindowProc. If I don't have any windows, which window can I post/send WM_SYSCOMMAND to carry out ...
許恩嘉's user avatar
  • 1,311
1 vote
1 answer
88 views

If I want consistent scrolling behavior across platforms and different wheel resolutions, I need a way to make wheel input independent of the device’s physical precision. Different mice seem to have ...
Zhi J ZhiJ's user avatar
0 votes
0 answers
167 views

I am running a GUI app on a Windows device. The main thread for this is the UI thread. I'm adding functionality to turn off the display when the application is not being used for a certain time. I ...
shivaraj's user avatar
3 votes
1 answer
91 views

I tried drawing a rounded rectangle via the renderTarget, but encountered an issue where the image disappears every other frame—what could be the cause? #include <d2d1_1.h> #include <d2d1_2.h&...
feng lei's user avatar
0 votes
0 answers
86 views

I'm implementing a tray icon for my game launcher on Windows (C++, Win32 API). The tray icon itself works fine: it appears in the system tray, I can right-click it to show a context menu, and double-...
Content's user avatar
  • 75
-1 votes
0 answers
95 views

I am using Event Tracing for Windows to monitor disk io and network usage of processes. I have used ETW with KERNEL_LOGGER_NAME , EVENT_TRACE_FLAG_PROCESS , EVENT_TRACE_FLAG_DISK_IO, ...
K A's user avatar
  • 9

15 30 50 per page
1
2 3 4 5
2916