Re: screen freeze after long time running
- From: "David Ching" <dc@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 21 Aug 2007 05:35:52 -0700
<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
.
- References:
- screen freeze after long time running
- From: emma2740
- screen freeze after long time running
- Prev by Date: Re: Strange Video Problem
- Next by Date: Re: Multiple views Single Document MDI
- Previous by thread: Re: screen freeze after long time running
- Next by thread: Re: screen freeze after long time running
- Index(es):
Relevant Pages
|