[Lazarus] Safe temp file name

Aradeonas aradeonas at operamail.com
Wed Nov 25 14:51:41 CET 2015


Hi,

I usedĀ GetTempFileName in a multi thread system and it causes problems
as you guess already. So the best way in my mind is using GUID and maybe
use it in a loop for checking not existing for extra safety. But I want
to know is there any clean implementation already that I dont know of?

Regards, Ara

-- 
http://www.fastmail.com - The way an email service should be

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151125/aa58f418/attachment-0002.html>


More information about the Lazarus mailing list