PC Review


Reply
Thread Tools Rate Thread

listview, gdi objects, GC

 
 
=?Utf-8?B?a2VuQG5vc3BhbS5ub3NwYW0=?=
Guest
Posts: n/a
 
      22nd Feb 2005
I have noticed that the listview and GC can get into a state where thousands
of gdi objects get created (from scrolling through the listview items, either
by keyboard or using the scroll bar).

Under XP they eventually get cleaned up.
Under 98 they exhaust the gdi memory pool and display the resources low
warning dialog box. If I keep scrolling eventually the system recovers the
resources, but will then run out again. It was surprising the system didn't
crash (maybe some computers do).

Following this, the GC (on both OS's) starts being more responsive.
However, by changing pages in my application the behavior can start over
again.

Are there any known issues with this?

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Q293Ym95IChHcmVnb3J5IEEuIEJlYW1lcikgLSBN
Guest
Posts: n/a
 
      22nd Feb 2005
While .NET is "technically" compatible with Windows 98, I do not consider
Windows 98 a viable OS for .NET. Just my two cents. The architecture for
Windows XP (NT kernel) and 9x is so dramatically different that much of the
Framework that runs on 98 is an afterthought. This does not help someone that
has to run on Windows 98, but I would consider branding the product XP+ only,
if possible.


---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"(E-Mail Removed)" wrote:

> I have noticed that the listview and GC can get into a state where thousands
> of gdi objects get created (from scrolling through the listview items, either
> by keyboard or using the scroll bar).
>
> Under XP they eventually get cleaned up.
> Under 98 they exhaust the gdi memory pool and display the resources low
> warning dialog box. If I keep scrolling eventually the system recovers the
> resources, but will then run out again. It was surprising the system didn't
> crash (maybe some computers do).
>
> Following this, the GC (on both OS's) starts being more responsive.
> However, by changing pages in my application the behavior can start over
> again.
>
> Are there any known issues with this?
>

 
Reply With Quote
 
=?Utf-8?B?a2VuQG5vc3BhbS5ub3NwYW0=?=
Guest
Posts: n/a
 
      24th Feb 2005
Not running on win98 is not an option at this time.
Also, XP has the issue, it is just able to hide it.

"Cowboy (Gregory A. Beamer) - MVP" wrote:

> While .NET is "technically" compatible with Windows 98, I do not consider
> Windows 98 a viable OS for .NET. Just my two cents. The architecture for
> Windows XP (NT kernel) and 9x is so dramatically different that much of the
> Framework that runs on 98 is an afterthought. This does not help someone that
> has to run on Windows 98, but I would consider branding the product XP+ only,
> if possible.
>
>
> ---
>
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> ***************************
> Think Outside the Box!
> ***************************
>
> "(E-Mail Removed)" wrote:
>
> > I have noticed that the listview and GC can get into a state where thousands
> > of gdi objects get created (from scrolling through the listview items, either
> > by keyboard or using the scroll bar).
> >
> > Under XP they eventually get cleaned up.
> > Under 98 they exhaust the gdi memory pool and display the resources low
> > warning dialog box. If I keep scrolling eventually the system recovers the
> > resources, but will then run out again. It was surprising the system didn't
> > crash (maybe some computers do).
> >
> > Following this, the GC (on both OS's) starts being more responsive.
> > However, by changing pages in my application the behavior can start over
> > again.
> >
> > Are there any known issues with this?
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to plase our own objects instead of imagelist in listview control Sanjeeva Reddy Microsoft VC .NET 0 15th Mar 2005 11:18 AM
Many objects updating listview Kejpa Microsoft VB .NET 2 9th Nov 2004 01:53 PM
over 4297000000 of GDI objects in a Windows.Forms application! ListView's leak. Wiktor Zychla Microsoft C# .NET 13 18th Sep 2003 11:45 AM
over 4297000000 of GDI objects in a Windows.Forms application! ListView's leak. Wiktor Zychla Microsoft Dot NET Framework Forms 13 18th Sep 2003 11:45 AM
RE: ListView - images disappear after coming back from another form with a ListView Armin Sadeghi [MSFT] Microsoft Dot NET Compact Framework 0 6th Sep 2003 12:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:53 PM.