System.StringToOleStr
Delphi
function StringToOleStr(const Source: _AnsiStr): PWideChar;
function StringToOleStr(const Source: UnicodeString): PWideChar; overload;
C++
extern DELPHI_PACKAGE WideChar * __fastcall StringToOleStr(const System::AnsiString Source)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.pas System.hpp |
System | System |
説明
メモリを割り当ててから AnsiString 型文字列を OLE フォーマットにコピーします。
StringToOleStr 関数は,メモリを割り当ててから文字列データをネイティブな AnsiStirng 型から OLE 関数に渡すことが可能なフォーマットにコピーします。