在Java中使用dll文件 [英] Making use of dll file in java
本文介绍了在Java中使用dll文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
向所有成员问好.
我正在使用一种很棒的Java语言,
但我有问题.
谁能告诉我如何使用Java中的.dll文件.
我知道.dll文件只能与exe一起使用,
但如果与基于Java的应用程序配合使用,效果会更好...
如果您对此有所帮助,请解决:confused:...
hello to all members.
i am working on java language which is fantastic one,
but I am having problem.
Can any one tell me how can i make use of .dll files in java.
I know .dll files can work with exe only,
but its better if worked well with java based applications...
Thaks if you help me out in this:confused:...
推荐答案
您不能直接使用Java中的大多数dll文件,而需要使用JNI [ JNA [ ^ ]接口.
You cannot use most dll files directly from Java but need to use either the JNI[^] or JNA[^] interfaces.
很高兴知道您正在学习新语言,并且发现它很有趣.我建议您先购买一本书或在线阅读大致相同的书,然后再过多地投入开发.
^ ]
这将帮助您理解和学习有关Java的更多信息.诸如您在此处的要求之类的简单内容将自动得到回答. :thumbsup:
It''s good to know that you are learning new language and you found it interesting. I would suggest you to buy a book or read online about the same before moving too much into the development.
learning Java for Beginners![^]
This will help you in understanding and learning more about Java. Simple things like what you are asking here will get automatically answered. :thumbsup:
这篇关于在Java中使用dll文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文