(XE8 win32)

(XE8 win32)

Given that lRequestMessage is of type string, why would the Evaluate/Modify window process either of these

PChar(lRequestMessage)
PWideChar(lRequestMessage)

into

Expression illegal in evaluator

The reason I'm after the cast is that

Clipboard.SetTextBuf(lRequestMessage)

returns

E2010 Incompatible types: 'PWideChar' and 'string'

Related to https://plus.google.com/u/0/+JeroenPluimers/posts/Qj439m8USbA

Comments