WARN24-Possible bad object creation
|Top Previous Next|
Possible bad object creation (WARN24)
This is a list of all locations in the code where an object possibly is created in a bad fashion.
This is an error!
PAL reports this as an error, since the reference to the new object is not assigned to a variable. It could possibly be a mistake. However, in a situation where the object is inserted into a list managed by “Parent”, it is not a mistake. This is the case for the common TTreeView control.
Old-style objects are never reported, because in this case the override keyword is not allowed.