In Delphi, is it possible to detect when the user clicks on Windows' Start button (the button on the bottom left that brings up the menu)? I try to c ...
In Delphi, is it possible to detect when the user clicks on Windows' Start button (the button on the bottom left that brings up the menu)? I try to c ...
Left-handed users may have swapped the mouse buttons on Windows by setting the primary button to the right mouse button instead of the left. What Pyth ...
My setup and what I try to achieve My project is set up to use CMake, Ninja as my generator and MSVC as my compiler. I have an executable target A.ex ...
This is working for me... ...but I don't know why. I try to pass LPSTR, but I get: Error C4700 "uninitialized local variable 'path' used" I ...
I am trying to remove windows error sound from my Flutter (Win32) Application. After some research I came up with this fix. I tried this fix but it's ...
I am trying to create an overlay form that overlays the contents of an external window (excluding the borders etc). I believe that GetClientRect is th ...
While debugging some seemingly unexpected behaviour with Rust's std::fs::read_dir function, I made a small example of it using the underlying FindFirs ...
I want to use functions of the Winapi.Security.Cryptography.Core_IAsymmetricKeyAlgorithmProvider and it has a parameter of type IBuffer. i dont know h ...
I am using winapi's CreateFile() and WriteFile() functions to open the file in append mode and write into the file. When i use FILE_APPEND_DATA flag, ...
I have a dynamic library which uses LoadImage function: That library is linked to the main application (exe). When the application calls a library ...
I have trouble understanding these two class styles. The docs say that they align the window on a byte boundary, but I don't understand what that mean ...
I'm looking for a way to check for a read-only file's existence without opening it. I've tried: But it returns "does not exist". I'm looking for a ...
I'm attempting to automate an action on an Electron/javascript-based game that requires keyboard input. Example: typing "a" is supposed to activate an ...
I'm making the pac-man with the winapi32, and using XAudio2 API for playing multiple sounds simultanueosly. I played my sound file pacman_beginning.wa ...
I want to set my process as critical. I understand all the risks, just want to know what to call. I tried the RtlSetProcessIsCritical method and it w ...
I want to write a 2D chess program. It does not require much user input so it will use only the Windows Console, not any GUI. I know how to access the ...
I added a serial port writing to my code and now it freezes after few tenths of iterations. Few minutes it works just it should. If I remove serial po ...
I would like to get file size of my external hard disk. handle = CreateFile(L"\\\\.\\PhysicalDrive5", GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXIST ...
I am trying to use the Win32 msvcrt.dll to open the standard output and print out some arbitrary string. Keep in mind that I do not want to use print ...
EDIT: "I realized after posting this question that the code does not actually switch to another window but it does get the Window ID Number. thus I mo ...