Home > Back-end >  What is the problem
What is the problem

Time:05-10

CodePudding user response:

Program runs the access violation error is often the one reason is that a pointer uninitialized, such as an object has not yet new created or have already been released (memory occupied by other), member functions are accessed through a pointer object,
Another common case is a secondary delete objects, such as deleting a parent VCL control (such as a Panel control or Form), it will automatically destroy all child controls, and then you go to delete a child controls, secondary delete access violation, if this kind of circumstance must manually delete, we can delete child controls step-father controls,

CodePudding user response:

The VCL objects properties of internal call a member function is actually,
  • Related