/
/
opt
/
golang
/
1.22.0
/
src
/
runtime
/
testdata
/
testwinlibthrow
Server: in-mum-web1112.main-hosting.eu (62.72.28.111)
You: 216.73.216.137
PHP 8.3.16
Dir:
/opt/golang/1.22.0/src/runtime/testdata/testwinlibthrow
Edit:
/opt/golang/1.22.0/src/runtime/testdata/testwinlibthrow/main.go
package main import ( "os" "syscall" ) func main() { dll := syscall.MustLoadDLL("veh.dll") RaiseNoExcept := dll.MustFindProc("RaiseNoExcept") ThreadRaiseNoExcept := dll.MustFindProc("ThreadRaiseNoExcept") thread := len(os.Args) > 1 && os.Args[1] == "thread" if !thread { RaiseNoExcept.Call() } else { ThreadRaiseNoExcept.Call() } }
Ukuran: 348 B