是否可以使用Java来创建dll? [英] Is it possible to use Java to create dll?

查看:194
本文介绍了是否可以使用Java来创建dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想要为Window XP创建动画dll
创建Java2d动画并导出为dll吗?

Want to create animation dll for Window XP Is it ok to create Java2d animation and export as dll??

推荐答案

是。您需要在C ++中编写代码以启动具有JNI调用接口的JVM,并调用它。但是,您可能会发现以这种方式创建Windows,无缝集成到Windows环境应用程序中以显示动画。这是一个相当高级的JNI使用,我建议在尝试一下之前先阅读JNI书。

Yes. You need to write code in C++ to start the JVM with the invocation interface to JNI, and call into it. However, you may find it difficult to create windows in this way that integrate seamlessly with your Windows environment application to display your animation. This is a rather advanced JNI usage, and I'd recommend reading the JNI book before even trying a little bit of it.

这篇关于是否可以使用Java来创建dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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