Category "windows"

save stderr with _popen to a variable in C on Windows 10

When I use something like char result[1000] = ""; char psBuffer[1000]; FILE* pPipe = _popen(command, "rt"); while(fgets(psBuffer, 1000, pPipe) != NULL) { st

Github problems with project files

Screen What's wrong with this file? I tried add .obj to gitignore file but that's doesn't helped. Also i don't even changed anything in this file i think that's

Adding libraries in Spyder

I installed the libraries I needed by using these commands below: conda install matplotlib conda install numpy I see the '# All requested packages already insta

How to open Python files in the new Windows Terminal?

I'm trying out the Windows Terminal app and I want to start using it instead of CMD. The problem is, I cannot set the File Explorer to open Python files with it

ECCODES build on Windows 11 fails on Generate step

I'm trying to build ECCODES C package (https://confluence.ecmwf.int/display/ECC/ecCodes+installation) on Windows 11 for further usage with python pygrib library

using #if to run a function

I'm trying to run the expression _setmode only if I'm using Windows, and setlocale only if I'm using Linux, but I can't manage to make them work with a simple i

Why does CMake default to Program Files x86 when compiling 64 bit program?

I am trying to build and install a basic program with CMake 3.17.2 for 64 bit windows with Visual Studio 16 2019. CMakeLists.txt: cmake_minimum_required(VERSION

How can I make my Rust program run at startup?

I know about how to run programs at startup on Windows, but not Linux (even though I use Linux myself). Is there a library I can use which will automatically ru

PIP install and Python requests get PermissionError on Windows

Search all over the internet, thread after thread tried every solution possible almost 2 days and can't find solution. I have already tried to reinstall python

On Python, How to open multiple command windows simultaneously (in cascade)

I intend to monitor connectivity (by ping ) 3 devices into the net. So far I tried the follow scripts but in some, the commands run in a single windows import

Using ssh to login to linux terminal from windows and run command in a logged in shell

First of all, this may seem like a duplicate question but I have searched stack overflow/various other forum sites and still haven't managed to find a solution.

Tomcat 9 on Windows 2019 Memory Issue

I'm running an open source application (Apereo Central Authentication Service) on Tomcat 9.0.43 running as a Windows Service. Below is a log file extract showin

Read line on Txt after specific text VB.NET

I have the following text on my notepad: Manufacture, a, b, c Manufacture, h, i, j Supplier, 7, 8, 9 Manufacture, x, y, z Supplier, 0,9,5 Then I have a form th

Adding Java home not working on windows ZSH

I have java installed and set up properly and works fine with the normal Windows Powershell. However, I'm trying to make java work with the ZSH terminal and I c

Inspector to temporarily modify UI elements of Windows Desktop Applications

Is there a way to inspect and temporarily modify controls and elements of a Windows application like how a browser has dev tools which allows for doing that to

Set service startup options for .net core worker service

I am trying to create a Windows service by writing a .NET 5 worker service, and I am hung on where in my code I would set up the service as auto-start, auto-sta

How to create a mail profile in my remote windows machine using ansible

I'm unable to create a mail profile in my remote windows machine which has Outlook 2016. I havw to create it using ansible. I tried this: - name: Manage windows

virtualenv not activated on windows 11

Im using python 10 and windows-11 i try to activate venv with the following command .\onlineShop\Scripts\activate.bat I create venv using following command pyt

Using plink to write a file to a COM port and read back the response from the target

I want to send a list of commands to a device on my Windows COM port and receive the responses back for further processing. The target device accepts write com

Will IE removal from Windows impact XMLHTTP60?

When IE gets removed from Windows, will this impact XMLHTTP60 and my Excel VBA code? How could one confirm?