Microsoft has made strides in enhancing Windows API integration, notably through the Microsoft Graph application. This tool offers programmatic access to critical Windows information, catering to users' needs for more frequent, robust, and versatile data access. Users, now on a more personal...
I have solved the problem! When the AI Bot told me that I was stalling the message loop, I looked deeper. In the original code I was calling PeekMessage() with PM_REMOVE, filtering for WM_KEYDOWN, and then checking for VK_ESCAPE. This consumed the WM_KEYDOWN message but not any other messages...
Anyone know of any tools or Windows API that can monitor disk cache page accesses?
For example, if a cache page is loaded from/to memory, I would like to count the size and times. This is to determine possible SSD degradation with too many accesses from page caches.
Thanks
I am at the end of my wisdom and need some help.
Here are the relevant parts of my code:
proc isKeyPressed(virtKeyCode: int32, stateCode: SHORT): bool =
if GetAsyncKeyState(virtKeyCode) and 0x8000 != 0:
return true
else:
return false
template checkKey(virtKeyCode: int32, keyValue...
We are excited to announce that the Rust/WinRT project finally has a permanent and public home on GitHub:
microsoft/winrt-rs
Rust/WinRT follows in the tradition established by C++/WinRT of building language projections for the Windows Runtime using standard languages and compilers, providing a...
I would like to know is it possible to make a cmd program in #C to monitor windows processes?
CMD Starts and automatically sends tasklist command every 10 seconds. If new process starts during that 10 seconds it opens TXT or another CMD windows to inform me that process name and location...
automation
batch file
c sharp
cmd
command prompt
development
monitoring
notifications
process management
processes
programming
scripting
software
system tools
task manager
tasklist
text file
windowswindowsapi
Today, we released a new Windows 10 Preview Build of the SDK to be used in conjunction with Link Removed (Build 17125 or greater). The Preview SDK Build 17125 contains bug fixes and under development changes to the API surface area.
The Preview SDK can be downloaded from Link Removed.
For...
17125
api updates
bug fixes
build changes
c++/winrt
code
debugging
desktop apps
developer forum
development
known issues
preview build
programming
sdk
software development
user feedback
visual studio
windows 10
windowsapiwindows insider
Hello,
In our application we get the handle of the taskbar using Windows API and hide it using SW_HIDE.
Yet when the CD / DVD is inserted / ejected the taskbar is visible.
We tried to handle the WM_DEVICECHANGE windows message which is received when any device is inserted to the system and...
For some apps (especially games) it is not uncommon for the app to get into a state where it needs to restart – perhaps after a license update, after installing downloadable content, its caches have become corrupt or unwieldy, or for any other reason where the app needs to refresh state from...
Today, we released a new Windows 10 Preview Build of the SDK to be used in conjunction with Link Removed (Build 16225 or greater). The Preview SDK Build 16225 contains bug fixes and under development changes to the API surface area.
The Preview SDK can be downloaded from Link Removed.
For...
adaptive apps
api changes
app compatibility
breaking changes
bug fixes
build 16225
compilation errors
developer forum
development tools
feature requests
known issues
preview build
release notes
sdk
software development
update
visual studio
windows 10
windows 10 creators
windowsapi
In the previous blog post about High-dots-per-inch (DPI) scaling improvements, we talk about how desktop applications can be blurry or sized incorrectly when run on high-DPI displays. This is especially noticeable when docking and undocking or when using remoting technologies such as Remote...
When pinning a program to the taskbar, when you launch it it runs the actual executable then the application either runs for the first time, or if it's already running but minimized to the tray, it has to handle that 2nd exe instance -> terminate the second one -> un-minimize the currently...
The Windows Runtime (WinRT) is the technology that powers the Universal Windows Platform, letting developers write applications that are common to all Windows devices, from Xbox to PCs to HoloLens to phones. Most of UWP can also be used by developers targeting traditional desktop applications...
application development
asynchronous
binaries
c++
c++/cx
c++/winrt
code samples
com
coroutines
cross-platform
desktop development
header files
metadata
open source
performance
uwp
visual studio
windowsapiwindows runtime
winrt
I have an application that calls Windows API functions to display the Common
Dialog boxes (e.g. Print Dialog, File Save As..., etc.). The Common Dialog boxes
display correctly on my own network, but I have a client who is running my
application on a Windows Server 2008 R2 application server...
Setup: Windows 7 Home premium (64bit)
I have need of creating many windows 7 shortcuts to a pile of video files.
This is the first of what will likely be many occasions
.
I don't know any of the windows based scripting languages but do program in perl somewhat. So my first hope is someone may...
Hello,
I am using Windows 7 Enterprise OS (32 bit). I have an mfc application which uses SetLayeredWindowAttribute() api to display fading effect for a window. The window to be displayed is popup window created with attributes WS_EX_TOOLWINDOW | WS_EX_LAYERED and parent NULL. The problem is...