[2163] in java-interest

home help back first fref pref prev next nref lref last post

Re: host handles & the like

daemon@ATHENA.MIT.EDU (Andrew Wason)
Tue Sep 26 13:02:30 1995

To: java-interest@java.sun.com
In-Reply-To: Message from Mike Klein <mklein@ossi.com> 
   of "Mon, 25 Sep 95 17:29:54 -0700."   <199509260029.RAA21609@loki.ossi.com> 
Date: Tue, 26 Sep 95 10:35:27 -0400
From: Andrew Wason <aw@bae.bellcore.com>

Mike Klein <mklein@ossi.com>  writes:
> This is my nth time posting this question so I don't have any grandious
> dreams of it being answered, but here goes anyways...
> 
> #1 - I need access to host window handles! The NT source release doesn't
> come with key source files for the runtime, making host handle extraction
> from a WINDOW object impossible. The raw HWND/HANDLE is needed because the
> release of AWT I am using doesn't support Z-Ordering of window planes, and
> RE-Parenting of windows, two things pretty key for drag&drop and windowing
> in general.

Let me know if you get an answer to this one.

Are you creating your own native HWNDs too?  I've had trouble
with that since an HWND is owned by the native thread it was
created in, and applets are initialized in a transient thread (so
the HWNDs are destroyed as soon as the thread returns).  How does
the AWT manage to get all it's HWNDs owned by the "AWT WServer
Thread"?

> #2 - I need access to a .LIB file or .DLL from NT so I can finish my perform
> method. I need these files so I can statically/dynamically bind to
> java_execute_constructor and java_execute_method.

The DLLs are in \hotjava\bin.  javai.dll contains
execute_java_constructor and execute_java_dynamic_method.  You
can use VC++ to create an import .LIB from the DLL by creating a
.DEF file and using LIB /DEF.  See
http://www.microsoft.com/Support/KBSL/DEVELOPR/visual_c/Q131313.htm
for instructions.

Andrew

_______________________________________________________________________________

Andrew Wason                                       Bell Communications Research
aw@bae.bellcore.com                                Piscataway, NJ
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post