How to call MessageBoxW using Zig in Windows
OS: Windows 10 22H2Zig: 0.12
Compile messageboxw.zig:
PS C:\prj> zig build-exe -lc .\msgboxw.zig
PS C:\prj> zig build-exe -lc .\msgboxw.zig
PS C:\prj> zig build-exe messagebox.zig -lc
PS C:\prj> mkdir hello-world PS C:\prj> cd .\hello-world\ PS C:\prj\hello-world> zig init
info: created build.zig info: created build.zig.zon info: created src\main.zig info: created src\root.zig info: see `zig build --help` for a menu of options
PS C:\prj\hello-world> zig build run
steps [4/7] install... All your codebase are belong to us. Run `zig build test` to run the tests.
Error opening directory '/media/sf_C_DRIVE': Permission denied
$: sudo adduser $USER vboxsf
This location could not be displayed You do not have the permissions necessary to view the contents of "sf_D_DRIVE"To fix do the following and reboot the VM.
$: sudo usermod -a -G vboxsf $USER
# pidin info CPU:X86 Release:6.5.0 FreeMem:846Mb/1023Mb BootTime:Apr 05 01:03:42 UTC 2023 Processes: 33, Threads: 91 Processor1: 131758 Intel 686 F6M1SS7 1999MHz FPU
Installing QNX 6.4.1 on Ubuntu 20.04 Install pre-requisites $: sudo dpkg --add-architecture i386 $: sudo apt update $: sudo apt install li...