All Questions
23,068
questions
0
votes
0
answers
19
views
Cannot open source file "crtdefs.h" in VSC (CUDA script), but CUDA compilation works
My CUDA script (.cu) can be compiled without error, but #include <stdio.h> line raises VSC's error:
#include errors detected. Please update your includePath. Squiggles are disabled for this ...
0
votes
0
answers
33
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, ...
0
votes
0
answers
50
views
How to compile for Linux when on Windows using Code::Blocks?
I have a console app which I want to compile for Linux.
I don't have access to a Linux operating system at the moment, but I really do need to compile this program for as many operating systems as ...
-4
votes
0
answers
80
views
Why does the program freeze? [duplicate]
I've written the following code where two pointers are: char* and int*. They all point at the 'sym' variable that just contains one symbol. Just for fun, I decided to change the symbol using the int ...
0
votes
0
answers
35
views
Weird error when injecting a DLL into a process - OSSL_QUIC_client_method could not be located in libcurl-4.dll
I have one of the weirdest problems I have ever encountered, and I can't find anything online about it.
For some context: I have to emulate malware for my job, and this currently is requiring me to ...
0
votes
0
answers
16
views
Nordic Sampo S2 RFID Scanner
I have a RFID scanner Nordic Sampo S2.
I have been trying to get some diagnostic data out of it using C++ but the function always ends up returning 1 which means error:
ret = NurApiDiagGetReport(hApi, ...
0
votes
0
answers
23
views
Enabling Efficiency Mode (EcoQoS) for a Process by PID in C++ and Verifying in Task Manager
I'm trying to enable Efficiency Mode (EcoQoS) for a process given its process ID (PID). I have referred to this similar question on Stack Overflow, but I'm still facing issues.
Issue:
Although the ...
0
votes
1
answer
23
views
How to embed a Window from HDevEngine in my wxWidgets panel?
HDevEngine (Propietary software) is an interpreter for running Programs from a Skripting language in C++. This engine can also Run Pop-Up windows to show the results.
I want to avoid the HDevEngine to ...
0
votes
1
answer
53
views
Rendering clipboard repeatedly
I have an application that uses delayed rendering of the clipboard to paste the current time. But: when the time was rendered once, it will always paste the same time, and not the updated time.
I ...
0
votes
1
answer
123
views
Issue with std::filesystem::path conversion to std::string in C++
I'm facing an issue while attempting to fetch all filenames from a directory. The problem arises when handling certain strings, resulting in errors. Below is the code snippet:
#include <filesystem&...
2
votes
0
answers
65
views
On a Win10 PC, GetTickCount is said to be reset to 0 at 0x9FFFFFF after 776 days. Does timeGetTime() do that too?
On a Win10 PC, GetTickCount is said to be reset to 0 at 0x9FFFFFF after 776 days. This is mentioned on Microsoft's site:
GetTickCount resets to zero after approximately 776 days
Does timeGetTime() ...
0
votes
0
answers
57
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_ ...
0
votes
3
answers
153
views
Error "name 'BoolVariable' is not defined" when using SCons on Godot with C++
I'm trying to use Godot with C++ on Windows and I'm following the GDExtension guide.
When I get to the part where I have to build the C++ bindings and I execute scons platform=windows I see this:
...
-2
votes
0
answers
34
views
How to run 'Import-Module PSReadLine' [duplicate]
I have a problem about the windows powershell and vs code studio plz help me to solving this error
Warning: PowerShell detected that you might be using a screen reader and has disabled PSReadLine for ...
0
votes
0
answers
19
views
CMake project with WINDOWS_EXPORT_ALL_SYMBOLS fails to build .PYDs from the first attempt
I use the WINDOWS_EXPORT_ALL_SYMBOLS property in a CMake project to port it on Windows. CMake successfully generates the build files using the Visual Studio 17 2022 generator. It can build normal ...