This can't be right, can it?
type
TBird = class
procedure Fly;
end;
TEagle = TBird; // alias
procedure TEagle.Fly;
begin
end;
It does depend on what you expect an Type-Alias to be.
If you expect the compiler to generate an compatible class then your
example must not be
Just my comments on IRC-Channels.
I did enter the rooms #fpc #lazarus #lazarus-ide #fpc-alt #fpc-dev just
to see whats going on on these channels a few days before.
I have been contaced by johanna via direct talk asking some questions i
I'm able programming pascal, something like how to
1) what does "i := x - x;" do and what is it's purpose and why doesn't "x + x"
work the same?
Subtracting pointers may be useful if they point to consecutive memory.
The Result is the number of bytes between both addresses.
Adding pointers is useless, you would get a pointer pointing to
Presumably the problem is caused by calling your function from a
different thread.
Perhaps it is a solution to put the SerOpen in a thread created by FPC
and signal that thread from your dot-net-called function.
Am 09.03.24 um 16:24 schrieb Luca Olivetti via fpc-pascal:
I'm writing a dll