2021
06-09
06-09
Golang如何调用windows下的dll动态库中的函数
使用syscall调用packagemainimport("fmt""syscall""time""unsafe")const(MB_OK=0x00000000MB_OKCANCEL=0x00000001MB_ABORTRETRYIGNORE=0x00000002MB_YESNOCANCEL=0x00000003MB_YESNO=0x00000004MB_RETRYCANCEL=0x00000005MB_CANCELTRYCONTINUE=0x00000006MB_ICONHAND=0x00000010MB_ICONQUESTI...
继续阅读 >