Short answer: do not use the GlobalContainer.
Long answers are in this Spring4D thread: How is the GlobalContainer intended to be used? Are there important don’ts? – Google Groups.
Especially read this message by Stefan Glienke that shows you to setup your main program without using GlobalContainer at all.
Note that this doesn’t mean you should avoid a container at all.
Background information:
–jeroen
Filed under: Delphi, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE5, Delphi XE6, Development, Software Development, Spring4D
