There is not, in the Go syscall DLL loading stuff. Even if there were, magic numbers in C are typically preprocessor macros (#define) which doesn’t survive compilation and isn’t present in the object file.
If i want to load the same file in linux how to load it…because that NewLazyDLL api is for windows but not for unix. Is there any equivalent to load the file.
dlopen is an different package, is there any way to open with syscall.
Beacause NewLazyDLL func is in dll_windows.go file, so in the same way is there any file for unix.