My program has deleteobject, freelibrary, and so on. Nevertheless there is a moment when the program fails due to lack of memory or resources available. If I use the "resource meter" from the "windows accesories" I can see how some parts of the program reduces the available amount of resources, specially the GDI.
How can I know exactly the object that is actually producing the problem? Is there a function available for that? Is there a way to discard ALL the objects that I don't need? I mean ALL because I can do selective deleteobject, but I cannot find the object that is occupying resources.
I looked at Petzold (Windows 95) and Appleman (VB Windows API32), but excepting deleteobject, freelibrary, deleteDC, and so on, I cannot see how to solve the problem.
Best regards.
Agustin
How can I know exactly the object that is actually producing the problem? Is there a function available for that? Is there a way to discard ALL the objects that I don't need? I mean ALL because I can do selective deleteobject, but I cannot find the object that is occupying resources.
I looked at Petzold (Windows 95) and Appleman (VB Windows API32), but excepting deleteobject, freelibrary, deleteDC, and so on, I cannot see how to solve the problem.
Best regards.
Agustin
Comment