从Win32应用程序检索Java对象(列表) [英] Retrieving a Java object (List) from a Win32 application

查看:72
本文介绍了从Win32应用程序检索Java对象(列表)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在创建一个Win32应用程序,该应用程序控制使用AWT组件以Java编码的另一个应用程序.我认为,如果我可以检索应用程序的主列表并使用JLIB库进行转换,则可以读取其内容.

首先,我是对的,还是我无法获得列表的真实内容?如果我是对的,我想知道如何实现这一目标,因为我没有找到任何适用于Java的优秀间谍软件,而Spy ++仅显示了SunAwtComponent.我假定在整个Java应用程序的容器中.

我没想到有人会告诉我如何做整个事情,但是因为我已经寻找了好一阵子,所以只有几个方向是非常好的.

感谢您的答复!!!

Hi everyone,

I''m creating a Win32 application that controls another application which is coded in Java using AWT components. I figured that if I can retrieve the main List of the application and cast it with the JLIB library I''d be able to read its content.

First of all, am I right or I won''t be able to get the real content of the List ? If I''m right I''d like to know how to achieve this since I didn''t found any good spy software for Java and Spy++ only show a SunAwtComponent. Which I presume in the container for the whole Java application.

I''m not expecting someone to tell me how to do the whole thing but only a couple of direction would be really great since I''ve been looking for that for a while now.

Thanks for the replies !!!

推荐答案

如果我了解您要执行的操作...

...由于Java窗口中可见的所有内容都不是使用标准的Windows控件(例如文本框和按钮)绘制的,因此它们没有句柄,因此也没有任何窗口消息,因此Spy ++赢得了你不好吗?

Java小程序将不得不向您自己显示此列表.
If I understand what you''re trying to do...

...since everything that is visible in the Java window is NOT drawn using standard Windows controls, like textboxes and buttons, they don''t have handles and thus, don''t have any window messages going to them, so Spy++ won''t do you any good.

The Java applet is going to have to expose this list to you itself.


感谢您的回复Dave ...

您认为使用Java应用程序可以完成我想做的事情吗?我真的需要能够做到这一点,这让我发疯. :laugh:
Thanks for the reply Dave...

Do you think it would be possible to do what I want to do with a Java application ? I REALLY need to be able to do this and it''s driving me crazy. :laugh:


这篇关于从Win32应用程序检索Java对象(列表)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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