05.10.2017 2:07 PM "Marcos Douglas B. Santos" napisał(a):
On Thu, Oct 5, 2017 at 5:55 AM, Ryan Joseph
wrote:
>
>> On Oct 5, 2017, at 12:28 PM, Sven Barth via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
>>
>> The way to go in Object Pascal are reference counted interfaces (aka
COM-style
On Fri, Oct 6, 2017 at 1:06 PM, Michalis Kamburelis
wrote:
>
> 05.10.2017 2:07 PM "Marcos Douglas B. Santos" napisał(a):
>
> [...]
> As Sven told you, just use COM Interfaces.
> Look this explanation ->
> http://castle-engine.io/modern_pascal_introduction.html#_corba_and_com_types_of_interfaces
>
Am 06.10.2017 20:52 schrieb "Marcos Douglas B. Santos" :
> > And reference counting like in e.g. C++ "shared pointers", that can
wrap any
> > class, without any additional feature (in Pascal we may get this with
> > "management operators").
>
> I don't know about "management operators". Could you
2017-10-06 20:52 GMT+02:00 Marcos Douglas B. Santos :
[...]
>> In this case, in which you indeed want two of these features simultaneously,
>> I advise COM interfaces myself :) That's why they are documented after all.
>
> I can use it only to use reference counting.
You can, but it's a little unc
2017-10-06 21:49 GMT+02:00 Michalis Kamburelis :
> 2017-10-06 20:52 GMT+02:00 Marcos Douglas B. Santos :
> [...]
>>> In this case, in which you indeed want two of these features simultaneously,
>>> I advise COM interfaces myself :) That's why they are documented after all.
>>
>> I can use it only t
2017-10-06 21:17 GMT+02:00 Sven Barth via fpc-pascal <
fpc-pascal@lists.freepascal.org>:
> Am 06.10.2017 20:52 schrieb "Marcos Douglas B. Santos" :
> > > And reference counting like in e.g. C++ "shared pointers", that can
> wrap any
> > > class, without any additional feature (in Pascal we may ge
>I can't reproduce it here. Would you please provide a self contained, small
>example plus information about the OS, filesystem and compiler as well as a
>list of filenames to test with?
Well, here’s some good news, I was cutting and pasting my code to make a self
contained example and I found
I am wondering how to get the file size reported by the OS for a particular
file without opening it. I tried to search for ‘Free Pascal File Size’ and
variations but all I get are things like this:
https://www.freepascal.org/docs-html/rtl/system/filesize.html
which is not what I’m look
2017-10-06 23:55 GMT+02:00 Maciej Izak :
> ... and here is library with exclusive usage of "management operators" for
> FPC:
>
> https://github.com/pda0/AutoScope
>
> ... and here is experimental smart pointers/objects/nullable types
> implementation:
>
> https://github.com/maciej-izak/PascalSmartP