Hi, i would like to know if there is a way I can build a dinamic array of structures.
I'v got this:

struct m_Data{
ULONG m_Size;
ULONG m_Address;
ULONG m_RawData;
ULONG m_PointerToRawData;
};

is there a way I can build an array from this struct??

I need to do something like this

m_Data *m_DinamicData[] = new m_Data[y];

where y is a value i get from another function.

The compiler expect for a constant value instead of y, and gives me an error


Tnx