This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Win32_Process struct { | |
Name string | |
//SessionId uint32 | |
} | |
func main() { | |
//runtime.GOMAXPROCS(3) | |
//C.createThreadWithMsgLoop() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// .net-sysversion project main.go | |
package main | |
// // importing C will increase the stack size. this is useful | |
// // if loading a .NET COM object, beacuse the CLR requires a larger stack | |
// #cgo LDFLAGS: -loleaut32 | |
// #include "windows.h" | |
// #include "OleAuto.h" | |
import "C" |
NewerOlder