Article ID: 177162
Article Last Modified on 6/14/2006
APPLIES TO
- Microsoft Software Development Kit for Java 2.02
- Microsoft Software Development Kit for Java 3.2
- Microsoft Software Development Kit for Java 2.01
- Microsoft Software Development Kit for Java 2.02
- Microsoft Software Development Kit for Java 3.0
- Microsoft Software Development Kit 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:
Additional query words: J/Direct Win32 directives
Keywords: kbinfo kbdownload kbfile kbsample KB177162