Hi,

I had a very strange problem with your library v7 and Delphi 2010.

My software relies too much on RTTI for Record data, and (After loosing a whole 
day trying to find out why it was happening) I found that your library sets 
NO_EXTENDED_RTTI directive as Default wich sets {$RTTI EXPLICIT METHODS([]) 
FIELDS([]) PROPERTIES([])}.

But strangely, this $RTTI directive is propagating to the whole project 
(Including MY PROJECT FILES...), maybe to some bug in Delphi 2010

I have found the following comments from a blog:

http://wings-of-wind.com/2009/09/03/community-pulse-coderage-4-rtti-reloaded/
"The size of the exe file will increase due of new RTTI info. The grow 
percentage usually isn't significant, but for the developers which are very 
sensible to their application size there are some tools to reduce the code 
size: {$WEAKLINKRTTI ON} and {$RTTI EXPLICIT METHODS([]) FIELDS([]) 
PROPERTIES([])} - we must note that the latter compiler directive disables the 
new RTTI only for the types (classes, records etc.) declared in the unit where 
you put it, so including it only once at the top of one unit is not enough. You 
need to add it to the top of every unit that declare types in addition to 
{$WEAKLINKRTTI ON}. Of course, if you want to strip out this info from VCL you 
must recompile it."


So, in theory, your library is correctly programmed, but I donĀ“t know why, this 
is propagating to my whole software and disabling RTTI for all my Record 
types!!!

Have you ever seen this problem?

Thanks
Eric
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to