W8134 Cannot allocate arrays of Delphi style class '%s' (C++)

From RAD Studio XE
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

This occurs when an array of instances of a delphi style class is improperly initialized.

#include <System.hpp>
class TMyClass : public TObject
void test()
   TMyClass *p = new TMyClass[10];  // <-- W8134
Personal tools
Previous Version
In other languages