AccessCheck() and MoveFileEx() doesn't work with network mapped driver
Hi We have a NAS installed locally and mapped a folder as local driver letter, such W . Here uses credential from NAS to establish the mapping from NAS folder to local driver letter, not from Windows Active Directory. And user account is local. Any…
WINPE 20H1 print screen capture doesn't capture all
Can someone help me. I have a capture program it can capture all window(cmd window) in winpe 19H2, but winpe 20H1 fail as picture. winpe boot into cmd window. I use below code to capture window desktop all window. I try to change…
Is there any way to create a virtual Speaker or Mic in C#?
And then the final Speaker/Mic can be specified through the api. Or I should ask, what is more reasonable to describe the technology or product that can do this?
c++ load dll from resource directly
I want load dll from resource. Unfortunately I can only find examples for load dll with unpack the dll in to disk and then load it from LoadLibrary. But I want load it directly from memory if possible. How to do that? FindResource and LoadResource load…
Force keyboard in digits mode
Hello, with my team we are developing a C++ Windows application which is based on Qt library for the UI part and on Win32 API for the rest. The minimum Windows version supported is Windows 8.1. In the application there are some text fields which…
IMFDXGIBuffer interface not found
IMFDXGIBuffer interface is missing on Windows Server 2016. I have installed "Media Foundation" feature, but the problem still exists. Also latest DirectX is installed.. What could cause this issue?
direct2d resizing the geometry without scale, how to?
Hello I am playing with Direct2D, I was read tutorials (or how to) and documentation from microsoft site, but I still can't find info, how to resize a geometry. For example in this sample is show how is ellipse created and resized with mouse. I want…
Why are all my threads being momentarily paused?
Hi, I've been struggling with this for weeks. I have several audio threads in my application (they all have high priorities in the 20's from the multimedia class scheduler service). They are often held up for long periods of time (100ms, 300ms, even…
Windows V2004 causes our app to show "You'll need a new app to open this ms-gamingoverlay link"
Now that Windows 10 v2004 is out, I have reports that our desktop application starts up and then the user is presented with a message: "You'll need a new app to open this ms-gamingoverlay link" Unfortunately I don't have access to this OS due…
Is it possible to create a simple drop shadow using GDI+ Blur?
I'm displaying bitmaps, and I'd like to add a simple drop shadow to them (like the way Explorer does in the preview pane). I figured out how to do it with Direct2D, but that was sort of overkill, so I was wondering if there's a simpler way to do it…
CryptUIWizDigitalSign locks a file if it fails
Hi! I have a problem using the CryptUIWizDigitalSign-Function in C#. If I pass a file via CRYPTUI_WIZ_DIGITAL_SIGN_INFO-Structure that cannot be signed (i.e. Text-File), the function fails. But if i try to delete the file after the failure, the file is…
KEYDOWN in COMBOBOX does not work
I need to have access to the KEYDOWN event in all the visual controls of the window, and in the instructions indicated on the next page: https://learn.microsoft.com/en-us/windows/win32/controls/subclass-a-combo-box Everything works, except that…
How can I check whether a certificate is CA or end entity?
Want to confirm the cert type CA or End Entity, before it is imported to the certificate store. Is there any utility function available for this. I have written the below function. But it returns always return the cert as CA. Is this have a bug or is…
How to use bitmap for a three state check box with OBM_CHECKBOXES.
Hello, I want to use three state checkbox in the list control. Today, there is facility for normal checkbox. The bitmap for normal check box are loaded from OBM_CHECKBOXES. The problem is, I am not able to find the bitmap image for intermediate…
Magnifier Control unable to magnify the taskbar start menu
I've modified the MagnifierSample from the Windows-classic-samples, turning it into a lens magnifier. However when I open the Start Menu by pressing the Start button my magnification lens window is pushed to the background and is unable to magnify the…
Increasing Private Bytes but constant Virtual Bytes and Working Set. Genuine Memory Leak?
Hello everyone, We have developed a desktop server application which is written in C++. After running this application for 24hours, we could notice the following changes in memory usage(data collected through Perfmon). As per the…
Can I subclass the same parent window HWND several times
In case positive, is there a penalty in performance due to this? I want to use this so each child window can process its own parent notifications. For example, a Listview subclass its parent window and process LVN_ITEMCHANGED, LVN_COLUMNCLICK, ect. An…
Bluetoothleapis.h and Manufacturer specific data
Hello, I am using the C API for Bluetooth Low Energy. https://learn.microsoft.com/en-us/windows/win32/api/bluetoothleapis/ I would like to retrieve the Manufacturer specific data from the advertising packets, similar to what you can do in…
Want to warn when i use the same symbol defined two another library when link
I have below case: I add below code in testa.c file. extern unsigned char globaltest; void a() { if (globaltest == 3) { globaltest = 4; } } Define test lib1.lib and lib2.lib and define globaltest in those lib. Link testa.obj lib1.lib…
How to get detailed information of Windows system log using ReadEventLog?
How to use ReadEventLog to get all detailed information of Windows log?