Menu
  • HOME
  • TAGS

Data loss in Delphi using TIdTCPServer/TIdTCPClient components

delphi,data,tcp,indy,loss

Your I/O logic is much more complicated than it needs to be, especially on the client side. You are manually doing things that Indy can do for you automatically. On the client side, since you are saving the data into a TStream, you can have Indy read the data into...

Java reflection loss of annotation information

java,class,reflection,multiple-projects,loss

When you want an annotation which is usable at runtime you need to add an annotation to it. @Retention(RetentionPolicy.RUNTIME) public @interface Storable { Without this, the annotation is not visible at runtime. For more information, here is the source for this annotation. /** * Indicates how long annotations with the...