如何在visual c ++中调用java类 [英] How do I call java classes in visual c++

查看:69
本文介绍了如何在visual c ++中调用java类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个java生成的类,我想在visual c ++中访问

我该怎么做



谢谢

I had a java generated class that i would like to access in visual c++
How would I do it

Thanks

推荐答案

没有召唤类这样的概念。你可以调用方法,函数,属性,程序,子程序,运算符...



你需要的可能是JNI: http://en.wikipedia.org/wiki/Java_Native_Interface [ ^ ]。



您可以在此页面找到很多指向一些好教程的链接。



-SA
There is no such concept as "call a class". You call methods, functions, properties, procedures, subroutines, operators…

What you need is probably JNI: http://en.wikipedia.org/wiki/Java_Native_Interface[^].

You will find a lot of links to some good tutorials on this page.

—SA


这篇关于如何在visual c ++中调用java类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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