|
-
Nov 28th, 2001, 08:46 PM
#1
Thread Starter
New Member
ActiveX not releasing GDI, User Resources
Greetings all,
I have been scratching at this problem for quite some time and I was hoping someone here could give me some suggestions.
I have an application written in vb6 that consists of a bunch of developed activeX controls with intrinsic controls and other activeX controls on them. I am dynamically adding and removing these controls at run-time as they are needed using the Controls.Add, and Controls.Remove methods.
When running in win98 and 95, this application will eventually run out of system resources, specifically User and GDI objects. What is happening is that when a control is added and then removed, it is not releasing all of its User and GDI objects. I can tell this by monitoring the Task Manager's Processes list in Win2K. It never releases GDI objects, but it does release some of the User objects (maybe 50% of the objects used).
The terminate events on the control and its sub-controls are firing, so I know the objects are being destroyed. It is some other problem that I can't figure out. Anyone got any ideas?
Thanks in advance for any help you can give.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|