WARN53-Mixing interface variables and objects

Top  Previous  Next

 

Mixing interface variables and objects (WARN53)

 

This section reports locations in your code with assignments between objects and interface variables. Normally, unless you really know what you are doing, it is a bad idea to mix interfaces and objects. The reason is that the reference counting mechanism of interfaces can be disturbed, leading to access violations and/or memory leaks.

 

Example:

 

clipx192

 

 

See also:

 

Alerts