On 26-6-2023 21:39, Michael Van Canneyt via fpc-pascal wrote:
(afaik 3.2.2's comobj does this automatically, in older version YMMV).
Well, I checked prior to sending my answer. If it does this, it's well
hidden. There seems to be some hook for it, though.
It hooks initproc into a linked list fashion which is called at the end
of FPC_INITIALIZEUNITS, which is a way to put it last/late in the init
sequence.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal