mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-25 03:29:14 +02:00
+ add support for making a TValue out of a COM interface
git-svn-id: trunk@36968 -
This commit is contained in:
parent
40f8b4a77c
commit
e2458c9803
@ -545,6 +545,7 @@ begin
|
|||||||
tkAString : result.FData.FValueData := TValueDataIntImpl.CreateRef(ABuffer, ATypeInfo, True);
|
tkAString : result.FData.FValueData := TValueDataIntImpl.CreateRef(ABuffer, ATypeInfo, True);
|
||||||
tkClass : result.FData.FAsObject := PPointer(ABuffer)^;
|
tkClass : result.FData.FAsObject := PPointer(ABuffer)^;
|
||||||
tkClassRef : result.FData.FAsClass := PClass(ABuffer)^;
|
tkClassRef : result.FData.FAsClass := PClass(ABuffer)^;
|
||||||
|
tkInterface: result.FData.FValueData := TValueDataIntImpl.CreateRef(ABuffer, ATypeInfo, True);
|
||||||
tkInt64 : result.FData.FAsSInt64 := PInt64(ABuffer)^;
|
tkInt64 : result.FData.FAsSInt64 := PInt64(ABuffer)^;
|
||||||
tkQWord : result.FData.FAsUInt64 := PQWord(ABuffer)^;
|
tkQWord : result.FData.FAsUInt64 := PQWord(ABuffer)^;
|
||||||
tkInteger : begin
|
tkInteger : begin
|
||||||
|
Loading…
Reference in New Issue
Block a user