|
-
Aug 15th, 2000, 05:36 PM
#1
Thread Starter
Hyperactive Member
Hello!
I am running VB5 sp3.
I've built an OCX and use it in my project.
It's loaded and the index is set to 0.
Throughout the program I load and unload the OCX, but the OCX doesn't release the memory it allocated. This is apparent by the windows message "Out of Memory".
Can anyone (guru types) help me with this?
Thanks,
Ken
-
Aug 15th, 2000, 05:39 PM
#2
What is the nature of the Control (what does it do?) does it use API calls?
-
Aug 15th, 2000, 05:46 PM
#3
Thread Starter
Hyperactive Member
Thanks for responding Aaron!
The control is comprised of 17 timers, 5 picture boxes and 1 shape.
The control is used as a graphic representation of a box moving around a conveyor system.
I'm not using any API calls, but it has 4 custom properties and 1 custom event.
Need more info?
Thanks,
Ken
-
Aug 15th, 2000, 06:13 PM
#4
If code is still executing in the Timers when your Control is unloaded this could prevent it from really unloading (like a Form), so you could try disabling the Timer controls before your Custom Control is unloaded.
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
|