Re: [fpc-pascal] TProxyStream.Check always raises error.

2021-01-06 Thread Sven Barth via fpc-pascal
Am 05.01.2021 um 14:30 schrieb Virgo Pärna via fpc-pascal: Is there any reason, why TProxyStream.Check always raises Exception without checking, if err = S_OK (ISteam call succeeded). TOleStream overrides this Check to use OleCheck, which handles it. But if Check needs to be overrided for

[fpc-pascal] TProxyStream.Check always raises error.

2021-01-05 Thread Virgo Pärna via fpc-pascal
Is there any reason, why TProxyStream.Check always raises Exception without checking, if err = S_OK (ISteam call succeeded). TOleStream overrides this Check to use OleCheck, which handles it. But if Check needs to be overrided for it to be useful, shouldn't Check just be abstract? -- Virg