mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 15:49:37 +02:00
* Fix for ole properties from B. Broersma, mantis 13126
git-svn-id: trunk@12751 -
This commit is contained in:
parent
d69d875d2a
commit
28bb705abd
@ -854,10 +854,10 @@ implementation
|
||||
case InvokeKind of
|
||||
DISPATCH_PROPERTYPUT:
|
||||
begin
|
||||
if (Arguments[0].VType and varDispatch)<>0 then
|
||||
if (Arguments[0].VType and varTypeMask) = varDispatch then
|
||||
InvokeKind:=DISPATCH_PROPERTYPUTREF;
|
||||
{ first name is actually the name of the property to set }
|
||||
DispIDs^[0]:=DISPATCH_PROPERTYPUT;
|
||||
DispIDs^[0]:=DISPID_PROPERTYPUT;
|
||||
DispParams.rgdispidNamedArgs:=@DispIDs^[0];
|
||||
inc(DispParams.cNamedArgs);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user