delphi xe disable RTTI

前端 未结 5 1344
自闭症患者
自闭症患者 2020-12-03 15:10

i have use delphi xe recently but exe size is very big because of rtti(i think)

howto remove rtti , and can i make my application size as small as delphi 2009 app

5条回答
  •  醉酒成梦
    2020-12-03 15:45

    Read the Online Help for Delphi ...

    • Working with RTTI
    • RTTI directive

    ... and search Stack Overflow:

    • Why should I care about RTTI in Delphi?
    • Practical usage for Delphi's new RTTI

    Keep in mind that the $RTTI directive has to be included in every unit where it should take effect. See How can I set the $RTTI directive for the entire project?

提交回复
热议问题