Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
48 views

I am working on an application that operates like OneDrive and uses the Cloud File API to show cloud hosted files in a folder on the user’s machine. I am trying to enhance my application by fetching ...
Travis R's user avatar
3 votes
0 answers
85 views

I have an application with a custom editing canvas, so I need to provide at least certain customization of IME behaviour (specifically positioning). For basic handling, I am hiding and showing my ...
KT_'s user avatar
  • 1,093
0 votes
0 answers
116 views

I'm new to nasm assembly and I am trying to make a hello world program, but my code prints nothing. It seems that something in the gethandle label is broken, which leads to WriteConsoleA receiving an ...
Skeletonz33's user avatar
-6 votes
1 answer
282 views
+200

I'm supposed to be taking over a server application which is sending documents to a printer. It does the following: if (OpenPrinter((LPTSTR)printer, &hPrinter, nullptr)) { wchar_t ...
Dominique's user avatar
  • 17.5k
0 votes
1 answer
82 views

I have an int array where every 4 elements describes blue, green, red and alpha values of each pixel of the image, for example: int data[] = {255,0,0,255, 0,255,0,255, 0,0,255,255} represents a 3x1 ...
Stdugnd4ikbd's user avatar
0 votes
0 answers
44 views

I am writing a one drive-like application using the CFAPI. I am trying to figure out how to set the Status icon to the Error state and to the Excluded state. Both have proven to be very difficult. The ...
Michael Foster's user avatar
Advice
0 votes
4 replies
57 views

https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/d3dkmthk/ns-d3dkmthk-_d3dkmt_brightness_info I want to query the brightness level of a monitor without using WMI. This structure ...
Carter Li's user avatar
  • 189
0 votes
1 answer
95 views

The following code is used to generate a Diffie-Hellman Key using Windows CryptNG (aka Cryptography API: Next Generation, BestCrypt, bcrypt). One of the tasks is to set the Key Derivation Function to ...
RbMm's user avatar
  • 35.4k
Best practices
1 vote
2 replies
73 views

Environment: Windows, Visual Studio, low level. A bit of context: One of my project is a static library with C functions that export functionalities. Some of those C functions make use of C functions ...
CVO's user avatar
  • 1
Advice
0 votes
1 replies
68 views

Before performing any operations using NCrypt APIs, I want to check if TPM is available and enabled for the machine. I couldn't find any APIs that does this. Can anyone please let me know how to ...
Preeti 's user avatar
  • 791
0 votes
2 answers
73 views

What is the correct way to track the keys that are currently pressed, at the time that a window is being focused? More specifically, a way that guarantees that those keys which are reported as "...
Juliean's user avatar
  • 1,808
0 votes
0 answers
84 views

I'm using the Win32 library to interact with serial ports. More specifically, I'm using the GNAT.Serial_Communications library in some basic Ada code and calling the Open procedure imbedded in this ...
sirjuicebox's user avatar
2 votes
1 answer
139 views

I've been working on legacy MFC application compiled with /std:c++17. It was compiling fine until I upgraded it to use c++20. This library I've been working on has a template class depending on some ...
tftoclik's user avatar
  • 301
0 votes
2 answers
211 views

I'm working on a C++ program for a college project, and I have the following code written down: const wchar_t g_szClassName[] = L"myWindowClass"; // Step 4: the Window Procedure LRESULT ...
Nathan Rasmussen's user avatar
3 votes
2 answers
246 views

I'm working on a Color Picker widget using Qt 6.6, QWidget and QGraphicsView, I'm experiencing two issues: Issue 1) When the QGraphicsView has no zoom and the window is moved and the image is draw, ...
Niele's user avatar
  • 31

15 30 50 per page
1
2 3 4 5
2916