C# app gets swapped out and returns to active app slowly

Nov 3 2004 1:27 PM
I have a c# app that launches windvd and waits on that process to exit, after a two hour movie when windvd exits it can take up to 30 seconds for my app to load itself back into memory and draw itself and be responsive again. If I watch a movie for a minute the response time for the app is very good. I think that XP is completely swapping out all of this application over time. What are the options to keep this application current? do I need to poll the process? Will that keep everything in the application current in memory? Thanks for you help.