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([]) 

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:

"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 
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 

Have you ever seen this problem?

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