Add code before initialization of units in Delphi

前端 未结 3 1116
礼貌的吻别
礼貌的吻别 2021-01-19 21:41

Is there a place where I can add code that will be executed before unit initialization?

The reason I want to do this is I need to change the DecimalSeparator, this h

3条回答
  •  广开言路
    2021-01-19 22:18

    Put it into the initialization section of the first unit in your project uses list, that way it will be executed prior to any other initialization code.

提交回复
热议问题