Link Copied
Are you loading a DLL with your application?
Mightthis bethe virus scanner? What does the Task Manager show as active processes during startup? How heavily is the disk I/O?
There is possibility of AV interference with the normal startup.It is known that Kaspersky AV will hook or detour patch whole the process and thread and context switching API functions.So this can incure some perceivable lag.
I would advise to monitor your application startup with the Xperf tool.
For more complete information about compiler optimizations, see our Optimization Notice.