有没有简单的方法将DLL文件的类转换为Jar文件? [英] Is there any easy method of converting the classes of a DLL file into a Jar File?

查看:166
本文介绍了有没有简单的方法将DLL文件的类转换为Jar文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



如果有任何简单的方法将DLL文件转换为JAR文件,请告诉我。?d class =h2_lin>解决方案

严格来说,由于多种原因,根本不可能。平台根本不同。但是,可能可以从.NET程序集生成一个JAR,它可以与有限的一组案例的 几乎相同的 。如果有人提供此类产品,我建议您小心使用,并且只有在生成源代码时才使用。但是,我怀疑做这样的工作是否有实际意义。



忘记任何简单的事情。



-SA

Hi All,

Can you please let me know if there is any easy way of converting a DLL file into JAR file.?????

解决方案

Strictly speaking, it's not possible at all, by a number of reasons. The platforms are fundamentally different. However, it's probably possible to generate a JAR from a .NET assembly which would do almost the same as the DLL for some limited set of cases. If someone offered such product, I would advise to take it with great care, and use only if it generated source code. However, I doubt that doing such work makes practical sense.

And forget about anything easy.

—SA


这篇关于有没有简单的方法将DLL文件的类转换为Jar文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆