Microsoft SDK for Java

makeJavaString

Constructs a Java string from a given ANSI C character buffer, converting it to Unicode.

Syntax

Hjava_lang_String* __cdecl makeJavaString(char *str, int len);

Return Value

Returns a string formatted as a java.lang.String object.

Parameters

*str The address of the C string to convert.
len The number of characters in the C string, excluding the terminating NULL.

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