DelphiDelphiVCLPythonPython GUIWindows

What Is The Deallocates Method And What Does It Do?

DelphiVCLApplicationFreeInstance blog banner

During windows development, or in fact any similar apps, use the FreeInstance method or DelphiVCL.Application.FreeInstance to deallocate memory allocated by a previous call to the NewInstance method.

All destructors call FreeInstance automatically to deallocate memory that was allocated by overriding NewInstance.

Do not call FreeInstance directly. FreeInstance should be overridden if NewInstance was overridden to change the way the object’s instance data was allocated.

Like NewInstance, FreeInstance uses the value returned from InstanceSize to deallocate the object’s memory.

Let’s browse all the properties and methods of the DelphiVCL.Application.FreeInstance using dir() command:

See the responses in our Windows command prompt:

What Is The Deallocates Method And What Does It Do? Viewing the properties and methods.

You can also read short information about the DelphiVCL.Application.FreeInstance using the print() command:

See the responses in our Windows command prompt:

What Is The Deallocates Method And What Does It Do? The results of the print() command shown in the a cmd window.

 

Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.

Watch this comprehensive introduction to Python GUI Development with DelphiVCL library video by Jim McKeeth:

close
Related posts
Python GUI

What Are Python Debugging Tools: A Simple Definition

Learn PythonPythonPython GUIVideos

How To Make A Python GUI For An ATM System

Python

10 Resources That'll Make You Better At Python Programming Software

Learn PythonPythonPython GUI

Why It Is Easier to Succeed with Python Coding Software Than You Might Think

Schreiben Sie einen Kommentar

Ihre E-Mail-Adresse wird nicht veröffentlicht.

de_DE_formalGerman