Microsoft SDK for Java

IJavaExecute::GetDefaultClassPath

This method of the IJavaExecute interface sets ppszClassPath to a string describing the default class path (computed from the registry and the CLASSPATH environment variable).

Syntax

HRESULT GetDefaultClassPath(LPOLESTR *ppszClassPath);

Parameters

*ppszClassPath The address of the buffer to receive the class path. The elements in the class path are separated by semicolons (;). Elements are searched in the order that they appear in the String.

Remarks

The caller must free the returned string using the CoTaskMemFree function.

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