M
mh1000
Guest
In my MFC application (VS2013), I am drawing lines using
MoveToEx(hdc, 1, 1, NULL);
LineTo(hdc, 10, 10);
As I repeat this, I noticed my GDI count (Task Mgr) is increasing, finally to 10,000 (drop-dead count).
How do I delete the GDI each time?
Thank you.
Continue reading...
MoveToEx(hdc, 1, 1, NULL);
LineTo(hdc, 10, 10);
As I repeat this, I noticed my GDI count (Task Mgr) is increasing, finally to 10,000 (drop-dead count).
How do I delete the GDI each time?
Thank you.
Continue reading...