How to hide console window of a Go program on Windows -
this question has answer here:
i tried various ways of creating go program displays either messagebox or standalone gui window. if write in c / c++ define winmain, leave out main , go. seems me define main function console window created automatically. , main function compulsory.
package main func main() { ... } to avoid tried example creates winmain
func winmain(wproc uintptr) { hinstance := getmodulehandle(nil) ... }


Comments
Post a Comment