>> TDummyThread.Create(True) > Huh, I have memory leak with this.
> Should it not be: --> TDummyThread.Create(false) ? (because with this, no > memory leak) Hello. Sorry to come back with this but without answer I am still full of doubt. Is TDummyThread.Create(True) wanted and so the dummy thread must exist during all the application and freed at end of application ? Or is TDummyThread.Create(false) ok ? Thanks. Fre;D ----- Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Call-function-in-shared-library-from-multiple-threads-tp5728035p5728202.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal