{"id":63,"date":"2007-05-11T21:20:03","date_gmt":"2007-05-11T19:20:03","guid":{"rendered":" http:\/\/www.nsonic.de\/blog\/2007\/05\/how-to-create-unique-strings\/"},"modified":"2007-05-11T21:20:05","modified_gmt":"2007-05-11T19:20:05","slug":"how-to-create-unique-strings","status":"publish","type":"post","link":"https:\/\/www.nsonic.de\/blog\/2007\/05\/how-to-create-unique-strings\/","title":{"rendered":"How to create unique strings"},"content":{"rendered":"<p><em>> Hi<br \/>\n><br \/>\n> How can I make really really really, extremely, unique names???  I need<br \/>\n> about 100 of them at a time, so Random, GetTempPath(i think), wont work&#8230;<br \/>\n> Anyone has any idea?<\/em><\/p>\n<p>[code lang=&#8221;delphi&#8221;]uses<br \/>\n  ComObj, ActiveX;<\/p>\n<p>var<br \/>\n  ID: TGUID;<br \/>\n  AUniqueString: string;<\/p>\n<p>if CoCreateGUID(ID) = S_OK then<br \/>\n  AUniqueString := GUIDToString(ID);[\/code]<\/p>\n<p>[tags]Delphi, API[\/tags]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>> Hi > > How can I make really really really, extremely, unique names??? I need > about 100 of them at a&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[11],"tags":[84,75],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p71Tml-11","_links":{"self":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/63"}],"collection":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/comments?post=63"}],"version-history":[{"count":0,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}