Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java SPY++ (Interprocess code injection) : Need something to start with

904134Dec 7 2011 — edited Dec 8 2011
Hi,

I'm working on a kind of spy++ and I need to add java support. (any type of GUI)

I need to :

1- inject some code into a JAVA application at runtime (I already do this for native, .NET, WPF etc..)
2- Get the architecture of the user interface (the type of control with the parent-child hiercharchy)
3- Get all possible properties for a specific JAVA control. By example getting the text of a text button or the list of items of a listView



Questions
---------

1- Is there any C++/C#/Java example of injecting java code into another java process ?
2- Is there any java equivalent for interprocess native window message with SendMessage (ex: LVM_GETITEMS to get listview items)
3- Is there any java equivalent for MS .Net Control.FromHandle() Is it possible to get an access to a control instance once i'm injected into the java process?
4- Can you point me to some interresting things to accomplish my particular tasks? (code injection and getting properties)
5- What is the best place to ask this kind of question ? it's the third message without any reply in 3 different newsgroup... What is the best forum for my questions ?

I just need something to start with.... I have not many chances to work more with java until now

Thanks!

Michel
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 5 2012
Added on Dec 7 2011
1 comment
600 views