rodrigocfd / windigo

Windows API and GUI in idiomatic Go.

Home Page:https://pkg.go.dev/github.com/rodrigocfd/windigo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work in Windows 7 and 8.1

lgirma opened this issue · comments

That is mainly because of these changes:

  1. Go version was upgraded to 1.21 which drops support for Windows versions below 10.
  2. There is a SetUserObjectInformation() call in _FirstMainStuff() function (inside any_globals.go file) which will make RunAsMain() calls panic in:
  • Windows 7 SP1
  • Windows 8.1
  • Wine (tested in Wine v8)

I confirmed this by forking this repository and removing the SetUserObjectInformation() call. Can that SetUserObjectInformation() call optionally be skipped so that win32 apps built with windigo work fine in those platforms?