+ add support for making a TValue out of a COM interface

git-svn-id: trunk@36968 -
This commit is contained in:
svenbarth 2017-08-20 18:27:11 +00:00
parent 40f8b4a77c
commit e2458c9803

View File

@ -545,6 +545,7 @@ begin
tkAString : result.FData.FValueData := TValueDataIntImpl.CreateRef(ABuffer, ATypeInfo, True);
tkClass : result.FData.FAsObject := PPointer(ABuffer)^;
tkClassRef : result.FData.FAsClass := PClass(ABuffer)^;
tkInterface: result.FData.FValueData := TValueDataIntImpl.CreateRef(ABuffer, ATypeInfo, True);
tkInt64 : result.FData.FAsSInt64 := PInt64(ABuffer)^;
tkQWord : result.FData.FAsUInt64 := PQWord(ABuffer)^;
tkInteger : begin