I am simply trying to add a newly created TImage to an std::vector like so:
TImage * Image = new TImage( this );
ImageVector.push_back( Image );
The line where I attempt to put the TImage into the vector gives me the following error:
‘Delphi style classes must be constructed using the operator new’
Since I create my TImage using the new keyword, I assume the problem must lay with the vector. But I am not sure what I am doing wrong here.