Microsoft SDK for Java

Compiler Directives for J/Direct

Compiler directives are special comments in source code that aid in various aspects of J/Direct and COM development. There are three directives that specifically pertain to J/Direct:

@dll.import maps a C function from the specified DLL file to a Java method.

@dll.struct marks the class declaration as equivalent to a C structure definition.

@dll.structmap specifies information about how a field is to be exposed to native memory.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.