X7ROOT File Manager
Current Path:
/opt/golang/1.22.0/src/runtime/testdata/testwinlibthrow
opt
/
golang
/
1.22.0
/
src
/
runtime
/
testdata
/
testwinlibthrow
/
📁
..
📄
main.go
(348 B)
📄
veh.c
(470 B)
Editing: 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() } }
Upload File
Create Folder