Microsoft SDK for Java

prelink

This method of the DllLib class preloads the native library and performs a type analysis on an @dll.import method to ensure that the types are compatible with DLL calling. If this method is called multiple times on the same method (or on a method that does not link to a DLL), the call is safely ignored.

Syntax

public static native void prelink(Method method);

Parameters

method The method to prelink.

Remarks

This work is normally performed on the first call to the @dll.import method. The prelink method can be used to force the type analysis to be done before the first call to the @dll.import method. This can help with performance tuning, debugging, or both.

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