WPF application on Windows XP - first start takes forever

  • Thread starter Thread starter Kevin Stumpf
  • Start date Start date
K

Kevin Stumpf

Hello,

on my Windows XP SP2 machine (1.6 Ghz) I have a quite nasty problem:

If my WPF application is the first WPF app to start on the system after a
reboot it takes up to a minute until the application window shows up. I know
that I can entertain the customer with some splash screen but ~60 seconds
definitely is too much.

Everytime I start my WPF application after that initial start it only takes
~3 seconds to appear.

Does anyone know how to avoid that performance issue?

Thank you,
Kevin
 
Hello,

on my Windows XP SP2 machine (1.6 Ghz) I have a quite nasty problem:

If my WPF application is the first WPF app to start on the system after
a reboot it takes up to a minute until the application window shows up.
I know that I can entertain the customer with some splash screen but ~60
seconds definitely is too much.

Everytime I start my WPF application after that initial start it only
takes ~3 seconds to appear.

Does anyone know how to avoid that performance issue?

Thank you,
Kevin

Maybe this can help you:

http://blogs.msdn.com/b/jgoldb/archive/2007/10/10/improving-wpf-applications-startup-time.aspx
 
Hi,
first sorry for posting on such an old post, but I found this and hours later the solution.
So here It is:
Windows Xp in some cases doesn't start the WindowsPresentationDoundationFontCache by default,
activate the service and your WPF app will start up in about 3sec.

So if someone has to deal with WinXp (I have to because of a customer) this could be your solution

Greetz
Flocke
 

Attachments

  • 2015-05-05 09_22_42-WinXP_EN (Sicherungspunkt 1) [wird ausgeführt] - Oracle VM VirtualBox.webp
    2015-05-05 09_22_42-WinXP_EN (Sicherungspunkt 1) [wird ausgeführt] - Oracle VM VirtualBox.webp
    24.8 KB · Views: 244
Back
Top