Java Api Callbacks在.NET Framework 4.5及以上版本上崩溃。

huangapple 未分类评论50阅读模式
标题翻译

Java Api Callbacks crashes on dotnet framework version 4.5 and above

问题

尝试在C#中使用Java访问桥接(Java Access Bridge),一切工作正常,但是每当我尝试订阅4.5及以上版本的dotnet framework时,例如:

JabApi.MouseClickedDelegate mcd = new JabApi.MouseClickedDelegate(HandleMouseClickedDelegate);
JabApi.setMouseClickedFP(mcd);

应用程序崩溃,但在dotnet framework版本4.0上相同的代码正常工作。检查了事件日志:故障模块名称:windowsaccessbridge-64.dll。

英文翻译

trying to work with Java Access Bridge in c#, everything works fine however whenever i try to subscribe on dotnet framework version 4.5 and above e.g.

JabApi.MouseClickedDelegate mcd = new  JabApi.MouseClickedDelegate(HandleMouseClickedDelegate);
JabApi.setMouseClickedFP(mcd);

Application crashes, but same code works fine on dotnet framework version 4.0.
Checked Event log : Faulting module name: windowsaccessbridge-64.dll

huangapple
  • 本文由 发表于 2020年3月16日 18:12:28
  • 转载请务必保留本文链接:https://java.coder-hub.com/60704010.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定