WPF application on Windows XP - first start takes forever

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
 
J

Jackie

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
 
Joined
May 5, 2015
Messages
1
Reaction score
1
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.png
    2015-05-05 09_22_42-WinXP_EN (Sicherungspunkt 1) [wird ausgeführt] - Oracle VM VirtualBox.png
    31.2 KB · Views: 234

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top