problem about rtl-Collection of common programming errors


  • 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 as I understand it, I’m on the safe side as long as everyone only reads the format settings – even from multiple threads.Is that true or am I missing something here?Thanks.

  • Ina Ira
    delphi rtl bpl
    I am learning a component from TMS. I got “…rtl100.bpl was not found…”. probably this error was happened if I use “Build with runtime packages” that contains “rtl”.Where is rtl100.bpl (I am using D2007)? What should I do to fix this error?

  • johnkavanagh
    crash stringstream codegear rtl
    I’m using Borland Codegear 2007 C++ compiler.I have a crash of my program when I use std::stringstream in my functions.It’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 “Linker/Dynamic RTL” optionIs this the only way?I’d like compile the application without Dynamic RTL option. Is it possible compile RTL? Is this a solution? Is there a compiler-patch?

Web site is in building