Share this page

# lrc_ascii_BSTR

Example: lrc_ascii_BSTR | Type Conversion From String

Converts a string into an ascii BSTR.

    BSTR lrc_ascii_BSTR( const char* str );

    BSTR* lrc_ascii_BSTR_by_ref( const char* str );

str | A string containing ascii characters only.

The lrc_ascii_BSTR function converts a character string into an ascii_BSTR.

The lrc_ascii_BSTR_by_ref function converts a character string into an ascii_BSTR and returns a pointer to the BSTR.

Note: In the COM protocol, ascii functions are not supported for multibyte languages. Use a parallel function without the word ascii, for example, lrc_BSTR.

## Return Values

lrc Return Values

## Parameterization

You cannot use standard parameterization for any arguments in this function.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: