On Wednesday, 30 August 2017 03:54:10 UTC+10, Phil Noel wrote: > By using syscall.NewLazyDLL and dynamically loading the function, then > with the loaded function just use func.Call(). >
Yes, that is what everyone is doing, including Go standard library. You can also use syscall.Syscall, syscall.Syscall6 and others. For an example see %GOROOT%\src\syscall\zsyscall_windows.go. Alex -- 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. For more options, visit https://groups.google.com/d/optout.