Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
37 views

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 ...
Kliment Nechaev's user avatar
0 votes
1 answer
65 views

How should I modify my code so that mouse-drawn lines remain on the canvas of the window during window scrolling

I am using win32 api to make a paint program, when I try to solve that using mouse to draw lines,remain the lines in the canvas, it can't work well. This is the Win Process Function: LRESULT ...
shiroha's user avatar
0 votes
0 answers
74 views

How to retrieve information about the shortcut used to open the cmd.exe process to run the program?

I'm working on a project where I need to determine the specific shortcut that was used to open the cmd.exe process that is currently running my program. I am not sure where to start with this and ...
Banane Studio's user avatar
-2 votes
1 answer
66 views

warning : The build tools for v142 cannot be found

**Install v142 to build using the v142 build tools. ** I've downloaded all the available frameworks/packs etc. from Microsoft, but alas - still get this error when trying to compile my C++ project... ...
Pieter Claassens's user avatar
0 votes
0 answers
46 views

Getting VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR working on Windows

I found a post asking about the same question: Vulkan and transparent windows However, the person asking the question wasn't checking whether VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR was supported. I ...
user18490's user avatar
  • 3,694
0 votes
0 answers
45 views

Asynchronous write to stdout with libuv both on Linux and Windows

To write to stdout in an asynchronous / nonblocking way, low-level I/O libraries such as boost::asio or libuv utilize the API of the operating system to monitor multiple file descriptors or HANDLE ...
Daniel F's user avatar
  • 283
0 votes
1 answer
99 views

Is it possible to access network drives in a process started by CreateProcessWithLogonW?

My goal is to start a child process from a system service for a distinct user which has access to network drives (mapped or UNC). To simplify the testing scenario, I have created an application for ...
Achim Schön's user avatar
0 votes
1 answer
106 views

Drag&Drop Files - But get list of files already during drag

I would like to allow users to drag&drop files from the windows explorer, but already fetch some infos about the files even before the user drops them into the application. E.g., to already fetch ...
Markus's user avatar
  • 2,224
0 votes
1 answer
86 views

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. Do they exist?
0___________'s user avatar
0 votes
0 answers
50 views

Unexpected rounded corners in Qt Frameless Widget

Unexpected rounded corners in Qt Frameless Widget I use Qt and Windows API to create a window with a custom title bar, and I want this window to have some of the effects of a Windows window (maximize, ...
chaomi1998's user avatar
0 votes
0 answers
51 views

Started a project on Visual Studio2022 using C++, but error 'C3861' appears on my .cpp when using Windows Biometric Framework sample code

This is the Output: 1>------ Rebuild All started: Project: WindowsProject01, Configuration: Debug x64 ------ 1>WindowsProject01.cpp 1>C:\\Users\\user\\source\\repos\\WindowsProject01 - Copy\\...
Einstein R.'s user avatar
1 vote
1 answer
64 views

GLEW vs WinAPI, windows size and click coordinates problem

I have some discrepancies when I use different windowing APIs. When I create window with WinAPI it is 1.5 times larger than the window created by GLFW. Documentation for both says that width and ...
armagedescu's user avatar
  • 2,079
0 votes
0 answers
58 views

How to Prevent Resizing Desktop Icon Window with Hotkey in Windows Application? [duplicate]

I've got a program that resizes the foreground window when a hotkey is entered: // Sample.cpp #ifndef UNICODE #define UNICODE #endif #include "Sample.h" int WINAPI wWinMain( _In_ ...
individual_9238's user avatar
0 votes
1 answer
48 views

NCryptSignHash returns NTE_INVALID_PARAMETER (0x80090027)

I'm working with some old code that was signing data using an installed certificate and the CryptoAPI, and I need to migrate it to use CNG. I've tried two different approaches, one using ...
David's user avatar
  • 108
1 vote
1 answer
87 views

ReadDirectoryChangesW: no immediate FILE_ACTION_MODIFIED on writes, waits for file handle being closed or opened on the file

I am currently trying to use ReadDirectoryChangesW() to listen for filesystem events on Windows in a directory. In general this works, but I've run into an issue: when something just writes to a file (...
chris_se's user avatar
  • 1,471

15 30 50 per page
1
2 3 4 5
1244