Re: screen freeze after long time running



<emma2740@xxxxxxxxx> wrote in message
news:1187696186.302429.185830@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi

I have a program written in Microsoft Visual C++ .NET . Its interface
is based on CFormView. It includes three tabs to show information and
plots. The plots are made by BitBlt() which copies data from the
vectors to the screen around every 5 minutes.

The problem is that after the program runs continuously for more than
3 days the screen freezes. Nothing is updated. I have to minimize the
window and it may return to normal look. Some static labels on the
interface also freeze or appear strange look.

Does anyone have similar experience ? Thank you for your hints or
suggestions!


It sounds like you are leaking resources, and eventually run out of things
like display memory. If the static labels are rendered in the wrong font,
it means Windows could not create the desired font and is using a stock font
instead. I've seen this happen in some apps.

Make sure you are freeing all the memory DC used in your BitBlt() for
example.

-- David


.



Relevant Pages

  • Re: Musings on debian-user list
    ... What's that got to do with the interface..? ... GUI = Graphical User Interface, ... ELinks, etc. with a pale grey background, even when under gnu/screen ... smaller font, even a font with a better rendering of a particular ...
    (Debian-User)
  • Re: possible to change the font of the interface?
    ... But the interface font for Office 2007 is Segoe UI, not Calibri. ... But I don't know how to change it -- unless you want to try moving the Segoe ...
    (microsoft.public.office.misc)
  • Re: Changing fonts
    ... I'd like to change the font in Windows Mail but can't find ... This will allow you to change the font for various parts of the User ... I will add though that if you are using the Aero interface a lot of ...
    (microsoft.public.windows.vista.general)
  • Re: Interface Font in Office 2007
    ... you can't switch the UI font. ... Is there a setting somewhere which would allow me to change the interface ... The thing is that I don't like "ClearType", ...
    (microsoft.public.office.misc)