How to use DeviceCapabilities() DC_BINNAMES in C++/CLI
How to use DeviceCapabilities()
DC_BINNAMES
in C++/CLI ?
Remove the windows titlebar from the window by having it HWND
I have a window with known HWND, and i want to remove default windows titlebar and save hide/minimize/maximize animations from Windows 11
How do I find the file size in C++ x64?
I was using C++ function:
Windows force MoveFile
I’ve got a similar problem to Windows API MoveFile() not working for running exe. How can I force MoveFile regardless of whether it’s used by another program or not?
I’m trying to implement a custom version of GetModuleHandle on Windows
I’m trying to implement a custom version of GetModuleHandle on Windows, and I’m running into an issue where the handle values don’t match the original GetModuleHandle results.
Long path aware manifest opt in on older versions of Windows
I have a c++ program for which i created manifest file and set long path aware to true. On newer versions of windows it works as expected.
But what will happen if i launch my app on older versions of windows, where long path aware is not supported. It will launch and will work as expected like there is no long paths, or it will not launch at all, or will launch and throw exception when using affected api?
Is there any problems i should be aware of?
My program doesnt use constants bigger than 260 for filesystem api and doesnt assume that long path aware should be true. My program just iterates through files using recursive_directory_iterator.
Windows API own integer types max and min values
Being forced to program using windows I have approached a problem. Despite intensive googling I have not found max and min definition for windows inter types like WORD
, DWORD
.
Get visited web site url’s from a PC
I am looking for a way to get web site URL’s regardless of web browser (chrome, edge etc..) with an external C# forms, windows service or console application without capturing network traffic. I tried WinPCAP, it does the job. I wonder if there is a way to do that without it.
Thanks.
How to use SendInput() function to send Unicode characters larger than 2 bytes?
I have been trying to use the SendInput() function to simulate keyboard input with Unicode characters larger than 2 bytes. I can send characters like ∇ : 0x2207 using the INPUT structure:
Difference between two IAudioClient::Initialize return values
I’m having trouble understanding the documentation for the IAudioClient initialization function.
https://learn.microsoft.com/en-us/windows/win32/api/audioclient/nf-audioclient-iaudioclient-initialize