mfc 请求java_从VC ++代码(使用MFC)到java代码的代码转换?

Currently, I have made an application related to thermal printer which is connected thru USB using MFC in VC++. Now, I need to convert that code in java code, which I need to run in Android Studio 3.2 for Android Application 5.0 (Lollipop).

So, is their any conversion software is available for that ? or,

What should I do to implement same functionality(which is in MFC, VC++ code), in Android Studio. So, that I can save my lot of time.

What I have tried:

I have seen this link in google,

C++ to Java Converter[^]

but, in FAQ they have mentioned MFC and ATL resoureces can't be converted.

解决方案No, there probably isn't anything which will do what you want - and even if there was, the code you would end up with would not be "good" java code: MFC and the Java machine are not a good fit, and it wouldn't use Java the language or the Java environment well.

Your best solution is to use the C++ application as a specification and rewrite it in Java to work as a "proper" Java app.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值