LPOLESTR* to string

Andre andre at s-e-a-p.de
Mon Feb 10 08:32:42 PST 2014


Hi,

one hour trying to get a string out of LPOLESTR*.
What is the correct command to get rgszNames as string?

HRESULT GetIDsOfNames(REFIID riid, LPOLESTR* rgszNames, UINT cNames, 
LCID lcid, DISPID* rgDispId){}

With following command I only get the first character
writeln(to!string(**rgszNames));

Kind regards
André


More information about the Digitalmars-d-learn mailing list