UWP pipe client and C++ Fulltrustprocess pipe server - Access to the path is denied
Hello UWP experts, I get "Access to the path is denied" when connecting a UWP namedpipeclient to C++ Fulltrust process namedpipe server in packaged (WAPP) and non packaged mode. Its a simple piece of code to see how the namedpipe works betweek…
does another local/offline 'api' have less lag than: Windows.Media.SpeechRecognition?
does Microsoft Speech Platform -- ISpRecoContext [Microsoft Speech Platform Microsoft Speech Platform Native Code API] perform better? i am using the windows crate with rust -- for the following. it seems like there is some lag with that api for…
Impact of Windows Edition vs. Version on API Functionality (e.g., SetWindowDisplayAffinity)
Dear Microsoft Support Team, I am a developer working with Windows APIs in C#. Recently, I've encountered an issue related to the use of certain functions and their compatibility with different versions and editions of Windows. Background: I am using the…
Win32api Clipboard Open failed
I copy different content,and openClipboard。I found that it open failed with the content copy from some app,like windows text editor;
C++ RealTimeStylusAPI derives coordinates that are ten times larger than the actual coordinates.
In the following Packets in the RealTimeStylus API, I need to get the coordinates of the current input point on the screen. But strangely I found that this coordinate is normal for mouse input, while when it comes to finger and pen, the coordinate…
APIs for Retrieving Latest Updates of Windows 10, Windows 11, and Windows Server
After some research, a question has arisen regarding APIs that can provide information on the last updates for Windows 10, Windows 11, and Windows Server. The objective is to create KPIs that allow for comparisons between the current OS build version and…
Exception Handling in Windows
Windows provides the following exception handling frameworks: Structured Exception Handling (SEH) Vectored Exception Handling (VEH) SEH is just the Windows's version of the C++ try-catch, and documentation suggests using the C++ try-catch blocks. I…
How to disable frame (and titlebar) but keep resizing and snap features when using SendMessage to drag the window?
I'm trying to disable the titlebar (and frame), but keep the ability to resize the window and have it so the snap layouts work when triggering SendMessage. I have the trigger work, but when I remove all the bit flags returned from GetWindowLong that gets…
How do I query Korean keyboard's hardware keyboard type?
Hello, I'm writing an application in C++, and I want to know if the user is using 2-set type Korean or 3-set type Korean (Dubeolsik or Sebeolsik). That is, I'd like to know which option the user has chosen for this: I've looked through all the functions…
Win32 HDC issue
I have a problem with drawing HDC outside WM_PAINT message, I draw in function with while(true) loop void quadcycle() { while(true) { hdc = GetDC(hwnd); RECT rc = {50,50,150,150}; FillRect(hdc, &rc,…
Where is tapimgmt.msc for Windows 11?
Hi, Can you please tell how I can get tapimgmt.msc for Windows 11 Pro or what tool has replaced it? It is not available by default and there is no Telephony option within optionalfeatures. I have already searched online but there is no mention of this…
Can native Win32 exe show a WinUI3 Page?
I need to show a WinUI3 page from a native Win32 exe. I cannot make modifications to the Win32 exe. The architecture is like this: native Win32 .exe -> links to a C++/CLI dll with a known native C++ interface C++/CLI dll -> references and makes…
Issue with IUpdateHistoryEntry2 interface
Trying to get category Ids for the installed updates on the machine. From IUpdateHistoryEntry2 we get ICategoryCollection. Which provides ICategory object on iteration. Calling get_CategoryId always returns empty. Try the same through…
OpenEventLog returns RPC_S_SERVER_UNAVAILABLE on Windows 24H2
We have a tool that parse data from the eventlog. However this has stopped working to access remote servers when run Windows 24H2 machines, with either of the following errors: RPC_S_SERVER_UNAVAILABLE RPC_X_BAD_STUB_DATA The following application…
Help with Windows Named Pipes
Win32 experts, I'm writing an app that includes a master process written in C# that forks a subprocess written in Python and compiled into an exe. I am attempting to open named pipe between the two and despite working through all online tips and all…
MIDL Compiler generates wrong year
Using the MIDL compiler with IDL statements to generate a .TLB file, the compiler inserts a text line into the .TLB such as: Created by MIDL version 8.01.0628 at Mon Jan 18 19:14:07 2038. The year should be the year the .TLB was created (e.g., 2024), NOT…
Is user32.dll has any dependency?
I want to use HDC to draw text in android. So can I copy user32.dll to android and then use HDC ? to get bitmap with some text? I will specify font and font-size
why some language will change when remove some code?
in some contries language like Arab the text will change its shape when remove some of them. مرحبا I just remove last one مرحب the first will change too I remove again. مرح you can see it totally changed. حبا to ح what I want to do is to create each…
how to create ID2D1Bitmap using direct2d?
how to load bitmap there is png file and how to create ID2D1Bitmap?
The behavior of the SetWindowDisplayAffinity API differs depending on the Windows 10 build version.
The behavior of the SetWindowDisplayAffinity API differs depending on the Windows 10 build version. API: SetWindowDisplayAffinity(hwnd, WDA_MONITOR); Windows 10 1909 (18363.418): Works correctly; when my dialog is captured, it turns black. Windows 10…