Delphi - Access violation while creating a TList of UnicodeString
问题 I'm writing a Delphi package with RAD Studio XE7. I recently faced a strange access violation, and I cannot figure out why it happened. The context was that I was trying to maintain a list of font names. So I declared the following type: ICustomFontList = TList<UnicodeString>; Inside one of my classes, I declared a variable as follow: m_pCustomFontList: ICustomFontList; Then, in the constructor, I tried to instantiate this variable like that: m_pCustomFontList := ICustomFontList.Create; I