Category "windows"

Is it possible to force Compile-Only with CMake?

I've got a very huge project (~180 libs, ~1Mio LOC, CMake but exclusively developed with VS2017 + permissive, ~30 third-parties) that needs to get ported to Lin

Visual Studio Code C++ Linux Library's On Windows

So basically I am writing a socket program in C++ on a Windows machine. But I am running a WSL and compile the code within the WSL because I am building it for

Weird file named Ya gets created every startup- I think related to visual studio... What is it and How do I stop this from happening?

Essentially, the title of the post but to be more specific here's an overview of what happens. Every time I start my computer, after I log in a file that window

How do I know when my Ctrl + C command has been processed?

I need to copy the currently selected text from the currently active window in the currently active app. If the app support guiInfo.hwndCaret, then I use this.

The callstack always shows _errno after strtol in WPA

I'm study WPA. I wrote a simple program and used WPR to collect the etl. My program is very simple, just trying to covert string to int in a loop. #include <

QML udp/rtp video stream fails Windows 10

In Qt5 /qml it was possible to playback udp stream as rtp payload on Windows MSVC kit , below qml code works on Qt5, now problem is migrating to qt6 (6.3) this

error creating registry key: HKEY_CURRENT_USER\Software\Classes\.ts\OpenWithProgids. RegCreateKeyEx faild: code 5 Access denied

When I open VSCode on Windows 10, I get the following pop-up window message and it requires an action: error creating registry key: HKEY_CURRENT_USER\Software\

How does GetCommState populate the DCB struct in Windows 10 when using usbser.sys CDC ACM driver

I am building a embedded device that will communicate to the outside world by virtual COM. I have the descriptor and all the callbacks for the USB set up correc

Outlook Web Add In can't open links in web browser

I have developed a very basic Outlook Web Add In, with the purpose of loading a Power Apps app by using an iframe object with a URL pointing to the app, all thi

Subprocess $Env:Path python: The filename, directory name, or volume label syntax is incorrect

I am trying to change the windows environment variables, but I am having trouble doing so. Before I tried to use os.environ() I tried out using powershell comma

Custom Print driver - The system cannot find the file specified

I have a custom print driver with all the source code. When I sign the driver using Inf2Cat.exe and signtool.exe, it generates a catalog file and signs the driv

Java | Attempting to delete files on a Windows machine results in "phantom files"

I'm trying to delete some files on a windows machine using apache commons-io's FileUtils.deleteDirectory method (The version of the commons library is 2.4). Sai

How to increase stack size for Julia in Windows?

I wrote a recursive function (basically a flood fill), it works fine on smaller datasets, but for slightly larger input it throws StackOverflowError. How to inc

Script check app version to trigger action

I want to use GPO deploy log on script for User Configuration to check the McAfee app version, If not installed, go to install If already installed, go to skip

Repeatedly getting "PKIX path building failed" and "unable to find valid certification path to requested target"

I have been facing this annoying issue of certificate during mvn clean install execution. PS C:\Users\milan\service> mvn clean install [INFO] Scanning for pr

Can I ship Test-Json from pwsh with my software?

Is it possible to ship cmdlet Test-Json only with my software or a dll that contains it from pwsh? I downloaded the entire pwsh zip file but not sure which one

Eclipse throwing "Unresolved inclusion error" on standard includes like "stdio.h"

After installing Eclipse freshly on Windows 10, I imported code to work on, but Eclipse started throwing the error "Unresolved inclusion error" on standard libr

Lithuanian stemming algorithm

I've been trying to execute lithuanian snowball stemmer in Python. There is a github link where a guy shows how to integrate it using Python but I'm stuck at co

How to filter data in Get-MailboxStatistics

I'm quite new in Powershell. I am trying to filter the result of the cmdlet Get-MailboxStatics, because i wanna know statistics on a subset of items in the mail

Running Kafka Confluent Platform on WSL 2 (Ubuntu Distribution) and Spring application on Windows (Broker may not be available)

I'm running Confluent Platform in wsl 2(Ubuntu Distribution) and I also running a Spring application on Windows but when I send a message with a producer I have