JWindow Demonstrates How to call Win32 APIs from Java (177162)
The information in this article applies to:
- Microsoft SDK for Java 2.0
- Microsoft SDK for Java 3.2
- Microsoft SDK for Java 2.01
- Microsoft SDK for Java 2.02
- Microsoft SDK for Java 3.0
- Microsoft SDK for Java 3.1
This article was previously published under Q177162 SUMMARY
The JWINDOW sample illustrates how to call Win32 APIs from a Java
application. This sample contains a single class called JWindow which
basically creates a Window by using the Win32 API CreateWindow and displays
"Hello JWindow" in the client area by processing the WM_PAINT in the
WndProc. This sample illustrates how to use the @dll.import directives to
invoke a Win32 DLL function from Java, callbacks, and nested struct types.
REFERENCES
For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 6/14/2006 |
---|
Keywords: | kbdownload kbfile kbinfo kbSample KB177162 kbAudDeveloper |
---|
|