Category "windows"

How to change HOME directory and start directory on MSYS2?

I have installed MinGW-w64 and MSYS2. But how do I change the HOME directory in MSYS2? So that when I type cd $home or cd ~ it goes to another directory that I

httpd.conf on Windows: can't locate API model structure `php8_module`

I'm trying to install PHP, Apache and MySQL on Windows, following these guidelines. At some point, I am prompted to edit httpd.conf to point to my PHP installat

Redefinition error in propidlbase.idl when compiling ATL project in Visual Studio 2019

I am trying to migrate a previous an older project from Visual Studio 2010 to a current version of Visual Studio (2019). I Microsoft's change notes on upgrading

Disable security on elastic and kibana

Hello i'am new with elastic search. I followed this documentation in order to enable security, i set a password with only number and that is the main problem. h

Docker whale icon is not appearing in system tray

I want to switch my container from Linux to Windows. The documentation says go to docker whale icon in system tray and switch it. But it is not appearing in my

vbscript - SQL Windows Authentication - different user

I want to read data from an SQL Database in my VBS Script. My problem: I need to logon with Windows Authentication and not with an SQL Account. But I cannot use

Windows batch script - requesting UAC admin rights in a log-friendly way

I'm requesting admin with the following in a batch script: : BatchGotAdmin REM --> Check for permissions >nul 2>&1 "%SYSTEMROOT%\system32\cacls.e

How to install and use "make" in Windows?

I'm following the instructions of someone whose repository I cloned to my machine. I want to use the make command as part of setting up the code environment, bu

OSError: [WinError 193] %1 is not a valid Win32 application while reading custom DLL in python with CTypes

I am trying to write code that wraps a C library in python. I am planning on using CTypes to do it and I used visual studio to compile my DLL. I started with a

Integrating Crashpad with a Windows Qt application

We are trying to integrate Crashpad with our Qt application and have run into several errors. We built Crashpad and attempted to link it to our application usin

Docker for windows will not start

I have installed Docker for windows as a complete noob looking to try it out. I have ensured Hyper-V is enable, virtualisation is enabled also any time I try an

[DBNETLIB][ConnectionOpen (SECDoClientHandshake()).] SSL security error on windows server 2008

I have a problem of SQL connection between two servers. One of the servers where the site code is stored is a Windows Server 2008 and my database is on a Window

Fast(er) way to get folder size with batch script

PLEASE SEE BELOW THE ORIGINAL QUESTION FOR SOME TEST COMPARISONS OF DIFFERENT WAYS: So I tried 2 ways so far: 1.Iterate through directory using the code from

Windows PATH to posix path conversion in bash

How can I convert a Windows dir path (say c:/libs/Qt-static) to the correct POSIX dir path (/c/libs/Qt-static) by means of standard msys features? And vice vers

Windows ISO 8601 timestamp

I need to convert a date in Windows PowerShell to the ISO 8601 format. In Linux/Unix it was no problem with TZ=0 date -d "<random-format>" +%Y-%m-

Install Protocol Buffers on Windows

I am unable to find clear instructions to install Google Protocol Buffers (including compiler) on Windows x64 platform. I went through the instructions README

Preventing Winform from being maximized?

I want to prevent my desktop application from being maximized. It should not become maximized by any means - by double clicking on title bar, or by clicking Win

C Standard Library for Win32/Win64 other than MSCRT

In unix/linux world, there are a couple of different C Standard Library implementations to choose from and link against, but although I spent some time searchin

AutoHotKey permanently changed my keyboard keys, even at the bios level

Recently installed AutoHotKey to remap some keys in order to play a video game. It seemed simple/attractive enough at first. Was not really sure of how it worke

Is WTL (Windows Template Library) still maintained and should I use it to create new Windows programs in C++?

I'm interested if I still should use WTL to write Windows applications? I really like how it's written but does anyone know if it is still maintained? (Maybe th