Been trying a series of progressively bolder mini-apps, starting with the mingw minimal Windows app and working upwards.
It wasn't till I tried to use GetStockObject or SystemParametersInfo that I needed to put -mwindows into the gcc command line. Probably because those are both functions from libraries (user32 and wingdi) whereas no library is given for eg CreateWindow.
Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.
Quick
- ($a, $b....) = unpack("A2A7...", $packed)
- push( array, list )