Unloading Application from Memory

Unloading Application from Memory

I have written an application that uses both DAO and OLE calls. This is a form-based application that sits on top of a CAD package. Sometimes when a user exits the application, the application stays resident in memory (for example, it shows up in the task manager). I am fairly sure that I am releasing all of my DAO and OLE objects. What might be causing the problem?

Make sure that all forms are being unloaded, and that in the Unload event of the last form to be unloaded, you have the End statement. If you don’t End the application, you can get a phantom app with no windows that keeps running.

See also  Is Machine Learning Automating Creativity in Graphic Design?

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist