Category "windows"

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

Building jq on Win10 using mingw fails at link time due to redefinition of pthread_key_create / pthread_setspecific / pthread_getspecific

I apologize as I haven't dealt with C in a professional capacity in over 20 years, so maybe there's an obvious fix here. When building within mingw64 I can get

What is the maximum length of url in case of custom protocol handlers registered on Windows OS?

I have a use case where I am attaching the complete data uri of an image to the the url in base64 encoded form. The length is getting around 15000 characters. I

Description: The process was terminated due to an unhandled exception. Exception Info: System.CannotUnloadAppDomainException

After a user closed the application. If the user have not had a reboot. Next time when this user try to open the application will have an error : The * applicat

Description: The process was terminated due to an unhandled exception. Exception Info: System.CannotUnloadAppDomainException

After a user closed the application. If the user have not had a reboot. Next time when this user try to open the application will have an error : The * applicat

How to redirect from one directory to another while protecting from file addition and deletion?

A program I am using has a directory for Python plugins in the installation path: C:\Program Files\...\plugins This is normally empty. The software is hard-wi

Trying to use math function: sgn... error : sgn is not declared

hmm... I imported:System.math... test as integer=sgn(100) I get the error: sgn is not declared. Other math functions work. So Why? Might Visual Studio not be

Curl request to batch or windows command line [closed]

I would like to create a github repository using a command line/batch script or whatever on windows. This request works on https://reqbin.com/

Python C API Py_NewInterpreter() freezes thread when creating new sys.stdin

I am building a Python wrapper for a C++ SDK in Python The app I am building on top of is using a console that is always listening to input on stdin Everything

Parent Process Directory not recognized by the Icon and Background Image fields in Windows Terminal

Windows Terminal version 1.12.10732.0 Windows build number 19043.1645 Issue Forgive me if this has been addressed already somewhere else, but I realized that wh

How to fix "Powershell needs Windows management system 4.0'

I want to know How i install Powershell in my win 10 pc because it dont came installed in it Please help me. I will be very thankful to you

Libadwaita on windows 10 & 11

I am new to GTK development. I started using GTK4 and it is really grea. As far as I understand libadwaita is used for reflecting dynamic system changes of colo

Using electron-builder, during the install of an app, is there a way to auto-create a folder in the user's "Documents" folder in Windows?

What am I trying to do? When installing an Electron application on a Windows machine, I would like it to also put a folder in a user's "Documents" area, for exa

Why pyspark is taking so long to create a SparkSession on jupyter?

Whell i'm learning PySpark, i installed ipykernel, jupyterlab, notebook and pyspark via PIP, and Java 8 via .exe, the problem is when i need to create the sessi

How to erase line if entry it doesn't match variable

I am trying to make a program where you have to sign in with a password. If the password is incorrect it is supposed to erase the line so you can try again. Ins

How do you import Pygame in Sublime Text 4 on Windows 10?

I've been trying to use Pygame on Sublime Text 4 for the longest. But every time I try to import it into Sublime Text it says that there's no module named Pygam

Wildfly org.jboss.nio -> FileNotFoundException: Invalid file path with Windows Java JDK 11.0.15+10

Since the update to Eclipse Tamurin JDK 11.0.15+10 we notice a problem as soon a HTTP request reaches Wildfly 20.0.1.Final. The same behaviour exsists in Wildfl

How does one close stdin from the windows CMD prompt?

I know that one can close stdin when executing a command from a Linux CLI using logic such as: 0<&- <command> This simulates/emulates running an a

Open type font collections are causing errors with PdfPrintingCore "Font has no usable platform or encoding ID. It cannot be used with PDFEdit."

When printing any text in font type Cambria (or another .ttc font type) on Windows I get the following error message: Font has no usable platform or encoding ID