* support for getting dispatch interface properties

git-svn-id: trunk@9171 -
This commit is contained in:
florian 2007-11-10 09:58:46 +00:00
parent b42930f2fa
commit 48c0e3b023

View File

@ -800,6 +800,15 @@ implementation
end;
InvokeKind:=CallDesc^.CallType;
MethodID:=DispIDs^[0];
case InvokeKind of
DISPATCH_PROPERTYPUT:
begin
{ !! FIXME}
end;
DISPATCH_METHOD:
if assigned(Result) and (CallDesc^.ArgCount=0) then
InvokeKind:=DISPATCH_METHOD or DISPATCH_PROPERTYGET;
end;
{$ifdef DEBUG_COMDISPATCH}
writeln('DispatchInvoke: MethodID: ',MethodID,' InvokeKind: ',InvokeKind);
{$endif DEBUG_COMDISPATCH}