Yes it came up in a situation when running in a Terminal Server environment; there CPU usage goes to near 100%.
It doesn't seem to make any sense; the graphics have all been processed, and the report is just being displayed on the screen.
>>I have a VFP 9 SP2 application. It was brought to my attention that when one of my reports sits at the print preview (I am using FoxyPreviewer, not sure if it applies to VFP reports in general) the CPU load is around 30%. This seems very high for sitting at a print preview. Is there anything that I can do to reduce this? When I am out of the print preview, the CPU load is less than 10%.
>
>First, use Task Manager to ensure it's your app that's using the CPU resources.
>
>Even if it is, my first reaction is "so what?". Typical modern PCs have so much free/available CPU that the end user won't notice the difference between 10% and 30% in use. And for a report preview it may not be for that long. Is it worth anyone's time trying to track this down?
>
>Having said that, one case where someone might legitimately care would be if the session running your app is virtualized (i.e. VDI) or is running on a Terminal Server. If the underlying hardware is being heavily utilized then yes, there could be concern about that extra CPU usage. But in a case like that you might need to be more concerned about bitmap settings in VFP - BITMAP=OFF in CONFIG.FPW or SYS( 602 ).