{"id":4449,"date":"2014-03-30T11:07:50","date_gmt":"2014-03-30T11:07:50","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-rtl-collection-of-common-programming-errors\/"},"modified":"2014-03-30T11:07:50","modified_gmt":"2014-03-30T11:07:50","slug":"problem-about-rtl-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-rtl-collection-of-common-programming-errors\/","title":{"rendered":"problem about rtl-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/025a1d4dadbf0aa9b912fe01ede5f035?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\njpfollenius<br \/>\nmultithreading delphi thread-safety delphi-xe rtl<br \/>\nI just found in the documentation that FloatToStr and DateToStr are not thread-safe in their one-paramater overloads. The reason is that they access localization information stored in global variables.My question is: is this of any practical relevance if I do not change the format settings at runtime? As far as I understand it, I&#8217;m on the safe side as long as everyone only reads the format settings &#8211; even from multiple threads.Is that true or am I missing something here?Thanks.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2fda4f2b1a7c56a172ee12ae193bbd8e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nIna Ira<br \/>\ndelphi rtl bpl<br \/>\nI am learning a component from TMS. I got &#8220;&#8230;rtl100.bpl was not found&#8230;&#8221;. probably this error was happened if I use &#8220;Build with runtime packages&#8221; that contains &#8220;rtl&#8221;.Where is rtl100.bpl (I am using D2007)? What should I do to fix this error?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d0b9e52290b9c5ee9f54bf015b9e25fe?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\njohnkavanagh<br \/>\ncrash stringstream codegear rtl<br \/>\nI&#8217;m using Borland Codegear 2007 C++ compiler.I have a crash of my program when I use std::stringstream in my functions.It&#8217;s enough to declare a local variable in a function std::stringstream sLoc; that program crashesI verify that the problem can be solved by checking &#8220;Linker\/Dynamic RTL&#8221; optionIs this the only way?I&#8217;d like compile the application without Dynamic RTL option. Is it possible compile RTL? Is this a solution? Is there a compiler-patch?<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>jpfollenius multithreading delphi thread-safety delphi-xe rtl I just found in the documentation that FloatToStr and DateToStr are not thread-safe in their one-paramater overloads. The reason is that they access localization information stored in global variables.My question is: is this of any practical relevance if I do not change the format settings at runtime? As far [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4449","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4449"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4449\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}