Problem:A mismatch in datapacket error can occur if using the ApplyUpdates method of TCustomProvider (the overloaded version that does not have the OwnerData parameter.Workaround:Call the version of ApplyUpdates that has the OwnerData parameter instead. or Replace this method in Provider.pas:function TCustomProvider.ApplyUpdates(Const Delta: OleVariant; MaxErrors: Integer; out ErrorCount: Integer): OleVariant; var OwnerData: OleVariant; begin Result := ApplyUpdates(Delta, MaxErrors, ErrorCount, OwnerData); end;
the ApplyUpdates method of TCustomProvider (the
overloaded version that does not have the
OwnerData parameter.Workaround:Call the version of ApplyUpdates that has the
OwnerData parameter instead.
or
Replace this method in Provider.pas:function TCustomProvider.ApplyUpdates(Const
Delta: OleVariant; MaxErrors: Integer;
out ErrorCount: Integer): OleVariant;
var
OwnerData: OleVariant;
begin
Result := ApplyUpdates(Delta, MaxErrors,
ErrorCount, OwnerData);
end;