Hello Maixm, If you look at
https://golang.org/doc/go1.13#windows page source, you will see that it says ``` <h3 id="windows">Windows</h3> <p><!-- CL 178977 --> The Windows version specified by internally-linked Windows binaries is now Windows 7 rather than NT 4.0. This was already the minimum required version for Go, but can affect the behavior of system calls that have a backwards-compatibility mode. These will now behave as documented. Externally-linked binaries (any program using cgo) have always specified a more recent Windows version. </p> ``` So this change refers to http://golang.org/cl/178977 This CL is quite small, and you should be able to revert it in whatever Go version you like. It just you need to be careful about using your version, because no one test this code anymore, so it could be broken. Alex On Tuesday, 28 July 2020 at 21:02:53 UTC+10 Maxim Panfilov wrote: > Hello everyone, > > I know about it: https://golang.org/doc/go1.13#windows > > But may be there is some another way for building a valid application for > NT6.0 using go 1.13+, maybe there are some tricks or arguments for compiler? > > I don't want to freeze application on go 1.12 forever, I think it is a > bad idea for security reasons (for example). > > Right now I have an error: "xyz.exe is not a valid win32 application" and > It makes me sad. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/c353dce5-f92b-430b-aa5f-df31d2d65448n%40googlegroups.com.