Category "windows"

Cl/cl.h not found in Visual Studio Code 2019 AMD GPU Win10

I wanted to get started in GPU programming and since I have an AMD GPU I would like to start with OpenCL. I have installed on my Windows 10 machine Visual Studi

TFS 2018 Server Web Services keeps shutting down and restarting every minute or so with message "BinDirChangeOrDirectoryRename"

We have our TFS Server hosted on Windows Server 2012 R2 Standard. Recently our TFS web application started to slow down to the point that it is almost not usabl

For loop doesnt execute for all instances - OS Module Python

The code below reads the first 4 letters of a filename, and if a folder with those 4 letters exists then it shifts that file to that folder. Otherwise, it creat

Windows 10 Driver EvtIoRead callback not scheduled frequently enough

I have inherited a Windows device driver that receives data packets using DMA. It's been working reliably for years on a 32 bit platform but I've had to port it

Headless chrome fails in windows container, require DXAVDA dll's even when using --headless switch

I am trying to run chrome headless within a windows container, however chrome crashes stating it's missing a number of DXVAVDA libraries. However I am passing t

using powershell inside batch file to add floating numbers from text file

i have a text file logging timestamps from ffprobe on video durations of some video files, which that text file looks like this: 14.068700 5.043011 84.071967 5

Flutter Visual Studio - develop for Windows

There is a warning when I use flutter doctor : Visual Studio - develop for Windows X Visual Studio not installed; this is necessary for Windows development. Dow

Script to double quotes

I have a keyboard that does not have double quotes, when I need to use it, it's very difficult to remember the FN. How can I create a script so that when I pres

Get owner of a file using python on windows system

I want to extract the owner of a file within a python3 script on a Windows system. When I run: os.path.expanduser(fp) or os.stat(fp).st_uid I receive a 0 for al

Flutter Visual Studio - develop for Windows

There is a warning when I use flutter doctor : Visual Studio - develop for Windows X Visual Studio not installed; this is necessary for Windows development. Dow

Move another window and rebound if touch borders of desktop

I have a question. How can I create a program that moves a specific window, for example discord around the desktop and if it touches an edge it bounces?

Move another window and rebound if touch borders of desktop

I have a question. How can I create a program that moves a specific window, for example discord around the desktop and if it touches an edge it bounces?

What is the mysqld_safe command for Windows-based installations?

I need to run the mysqld_safe command in a MariaDB installation, but I cannot find it inside the \bin folder...

How to add the UIA ExpandCollapse pattern in Qml

I'm using http://accessibilityinsights.io/ to make sure my QML application passes Microsoft requirements for accessibility. There's only one error that I couldn

AttributeError: module 'gym.envs.box2d' has no attribute 'CarRacing' / box 2d doesn't install successfully

environment_name = 'CarRacing-v0' env = gym.make(environment_name) AttributeError: module 'gym.envs.box2d' has no attribute 'CarRacing' and i did pip install b

Prevent mypy errors in platform dependent python code

I have something akin to the following piece of python code: import platform if platform.system() == "Windows": import winreg import win32api def do_cr

Gradle Build Failed after updated to 7.4.1 in windows 10 for java 8 project

Getting error like this What went wrong: Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example,

Command Prompt / Anaconda Command Prompt not opening in Windows 11

I am doing a research project that involves me running terminals in the Anaconda Command Prompt. I was able to install and work the current version of Anaconda

windows kernel driver and undocumented API

I try to use an undocumented API while developing a windows kernel driver. Please don't tell me this is not the best thing to do ;) Anyway, the undocumented API

How to change the windows resolution Scale with python?

I am trying to change the windows display configuration from python with the pywin32 library, I have managed to change the resolution but when trying to change