"Win32" impacts name mangling and calling convention. The problems you are experiencing I imagine are caused from blitzmax linking with mingw's libkernel32.a file which possibly needs updating.
Linking problems when using WinAPI functions
BlitzMax Forums/BlitzMax Programming/Linking problems when using WinAPI functionsThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.