Submain inside just some simple initialization code, in simple terms, involves reading configuration files, create folders, call a module, does not involve call form, only in the last load MDI form
I use msgbox mark test submain, from the first line of code to the last line, execution process is less than 1 second, but from the start the EXE to submain began to perform, for two to three seconds,
What on earth are two or three seconds to solve, this system load? What are the possible reasons and how to optimize?
Of course, through the project started will not appear this kind of circumstance, only exists in the compiled EXE, both the native code and P code [images]
CodePudding user response:
From the top, for bossesCodePudding user response:
Turn off the anti-virus software a try,CodePudding user response:
Beginning in formload place withMe. Show
CodePudding user response:
3 computers, all tencent computer butler, no anti-virus software: an all-in-one, configuration is very general, turn off the housekeeper did start fast, as long as a second or so; A notebook I56300 + solid, housekeeper guan's not a huge difference, always two or three seconds to start; A desktop, I56100 + machinery, housekeeper none of the cases, the first start 1 seconds, the back is open EXE immediately jumped out the form, don't understandCodePudding user response:
Guiyang