Re: [fpc-pascal] Question: Is there a global callback, when a thread gets terminated?

2019-02-06 Thread Michael Schnell
> > Anything else? Maybe the other thread could set a callback event property provided by the TThread sibling with a function it defines, and the thread that is associated with the TThread sibling calls this property in it's OnTerminate handler. -Michael _

Re: [fpc-pascal] trying to use C code in .pas on WIN32

2019-02-06 Thread Marc Santhoff
Hi John, thanks a lot for the verbose information. I was thinking about putting up a wiki page collecting the diffenrent cases of calling conventions, platforms and static vs. dynamic linking. But now I'm totally confused. Maybe a compiler developer or someone having enough knowlodge can clear t