Jump to content
Excelsior Forums
lokmane

get handle of a window

Recommended Posts

Hi,

I try to call a DLL in my program java, but this DLL needs a handle of a window.

So, I must create a window, and get its handle.

Please, is it possible to do this with xfunction ?

many thanks.

lokmane.

Share this post


Link to post
Share on other sites

Creating a windows is very complex task, and it is impossible to do it with xFunction. The possible (but still complex) way is to find a handle of AWT window of the Java application.  For example, ome may search for a window with a specified title (FindWindow(NULL, title)), or enumerate all windows in the system (EnumWindows). Please refer to MSDN library for details of using these functions.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×