Skip to content
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

windows系统会话存档sdk中dll的加载因为会互相依赖所以是有顺序的,但是现在的代码里面是没有处理这个顺序的导致无法加载sdk #2598

Closed
didi12121 opened this issue Apr 19, 2022 · 3 comments · Fixed by #2621
Milestone

Comments

@didi12121
Copy link

windows系统会话存档sdk中dll的加载因为会互相依赖所以是有顺序的,但是现在的代码里面是没有处理这个顺序的导致无法加载sdk

模块版本情况

  • WxJava 模块名: weixin-java-cp
  • WxJava 版本号:4.3.0
@0katekate0
Copy link

windows系统会话存档sdk中dll的加载因为会互相依赖所以是有顺序的,但是现在的代码里面是没有处理这个顺序的导致无法加载sdk

模块版本情况

  • WxJava 模块名: weixin-java-cp
  • WxJava 版本号:4.3.0

自行配置一下对应的顺序?

windows:
D:/WorkSpace/libcrypto-1_1-x64.dll,libssl-1_1-x64.dll,libcurl-x64.dll,WeWorkFinanceSdk.dll,libWeWorkFinanceSdk_Java.so
linux:
/www/osfile/work_msg_storage/libcrypto-1_1-x64.dll,libssl-1_1-x64.dll,libcurl-x64.dll,WeWorkFinanceSdk.dll,libWeWorkFinanceSdk_Java.so

@didi12121
Copy link
Author

我自己的项目里处理了,但是也许这个能加到Finance类里加载系统类库的方法?

@0katekate0
Copy link

我自己的项目里处理了,但是也许这个能加到Finance类里加载系统类库的方法?

直接把lib开头的放在最前面?说一下你的想法?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants