-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
自定义 LibName 不支持 go1.21.1 以上版本 #201
Comments
我用go1.22.3都没问题。自定义加载指定路径liblcl,例子customLibTest。 func init() {
// 目标位置liblcl.dll
libname.LibName = "C:\\test\\liblcl.dll"
} |
@ying32 |
你这样肯定加载不了, go是按包名除了按依赖初顺序初始化,另外就是按从小到大排序的初始化的,在26个字母里 |
看不明白你这个操作。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
环境 vscode, win11 22h2.
命令
go run .
报错:命令
go env
输出:The text was updated successfully, but these errors were encountered: