COM Vuser Functions (LRC) > Alphabetical List of Functions > lrc_ascii_BSTR

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.