How to increase the startup speed of the delphi app?

前端 未结 11 2000
醉梦人生
醉梦人生 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:35

    Put long running tasks (open database connections, connect to app server, etc) that have to be performed on startup in a thread. Any functionality that depends on these tasks are disabled until the thread is done.

    It's a bit of a cheat, though. The main form comes up right away, but you're only giving the appearance of faster startup time.

提交回复
热议问题