How to increase the startup speed of the delphi app?

前端 未结 11 2008
醉梦人生
醉梦人生 2020-12-24 09:54

What do you do to increase startup speed (or to decrease startup time) of your Delphi app?

Other than application specific, is there a standard trick that always wor

11条回答
  •  甜味超标
    2020-12-24 10:58

    • First thing to do is to clear auto created forms list (look for Project Options). Create forms on the fly when needed, especially if the application uses database connection (datamodule) or forms that include heavy use of controls.
    • Consider using form inheritance also to decrease exe size (resource usage is mimized)
    • Decrease number of forms and merge similar or related functionality into single form

提交回复
热议问题