RAD Studio
|
Delphi style classes cannot be statically defined. They have to be constructed on the heap.
voidfoo(void) { Tobject o1; // Error; Tobject *o2 = new TObject(); }
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|