Share this page

# Example: lrc_save_BSTR1

In the following example, a BSTR type string, str1, is created and then saved as "str_param".

    BSTR str1 = lrc_BSTR1("abc\x00def\x00\x00ghi", 12), str2;

    lrc_save_BSTR1("str_param", str1);

    str2 = lrc_BSTR1("<str_param>", 12); /* str2 passed to COM API call */

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: