Click to See Complete Forum and Search --> : GDI Resources in WIN9x


r.heuing
April 29th, 1999, 02:26 AM
Hi,

in our application we use a lot of BITMAPS in
a catalog. NT has no problems with this, but
WIN9x loses GDI-Resources.

I only uses CDC pointer from the OnPaint-functions in my own functions like this:

..::OnPaint(..)
{
CPaintDC dc(this); // device context for
DoStuff(&dc,...);
}

..::DoStuff(CDC *pDC,..)
{


}

has someone a idea how to solve this problem ?
Thanks in advance,

Reinhard