Sunday, May 19, 2024

Failed when searching source: winget

Failed when searching source: winget

I tried to run the command below on Windows 11 23H2 (en-us_windows_11_business_editions_version_23h2_updated_april_2024_x64_dvd_349cd577) but hit a snag.
PS C:\prj> winget install Microsoft.PowerShell
Failed in attempting to update the source: winget Failed when searching source: winget An unexpected error occurred while executing the command: 0x8a15000f : Data required by the source is missing No packages were found among the working sources.
The fix is fairly simple, just do an update of Windows Store, yes update Windows Store
References:
winget

Tuesday, May 14, 2024

Monday, May 13, 2024

How to call ReadConsoleInputW using Zig in Windows

How to call ReadConsoleInputW using Zig in Windows

ReadConsoleInputW can be used to mimic kbhit() C function found in Borland C/C++.
OS: Windows 10 22H2
Zig: 0.12
Compile ReadConsoleInputW.zig:
PS C:\prj> zig build-exe -lc .\ReadConsoleInputW.zig

Thursday, May 02, 2024

How to call MessageBoxW using Zig in Windows

How to call MessageBoxW using Zig in Windows

OS: Windows 10 22H2
Zig: 0.12
Compile messageboxw.zig:
PS C:\prj> zig build-exe -lc .\msgboxw.zig

How to call MessageBoxA using Zig in Windows

How to call MessageBoxA using Zig in Windows

OS: Windows 10 22H2
Zig: 0.12
Compile messagebox.zig:
PS C:\prj> zig build-exe messagebox.zig -lc

Installing QNX 6.4.1 on Ubuntu 20.04

Installing QNX 6.4.1 on Ubuntu 20.04 Install pre-requisites $: sudo dpkg --add-architecture i386 $: sudo apt update $: sudo apt install li...