delphi xe禁用RTTI [英] delphi xe disable RTTI
问题描述
如何删除rtti,我可以使我的应用程序大小小作为德尔福2009年应用程序(490 kb),没有comprssion;和rtti的使用是什么
简而言之(在splash中的链接提供的全部故事):
{$ RTTI EXPLICIT METHODS([])PROPERTIES([])FIELDS([])}
请注意,从XE5和更新版本,这需要在您要禁用RTTI的每个单位中。之前(XE4及以下)它可能在DPR文件中,并适用于项目中的所有单位。
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 application(490 kb) without comprssion; and what is the use of rtti
In short (full story provided by links in the splash's answer):
{$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])}
Note that as of XE5 and newer, this needs to be in each individual unit for which you want to disable RTTI. Before that (XE4 and below) it could be in the DPR file and would apply to all units in the project.
这篇关于delphi xe禁用RTTI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!