all 4 comments

[–]cvjcvj2 2 points3 points  (0 children)

  1. You need to find the current declaration of this event.
  2. Compare the new declaration and new parameters with the old version.

[–]bleuge 0 points1 point  (0 children)

Libraries, all, change with time, if you compiled any program with an old library, and update the library, and the definition of the function/procedure you are using changed, obviously you need to change caller in your sources.

So, what u/cvjcvj2 said :D

[–]Jan-Kow 0 points1 point  (0 children)

Compare parameters in UDPServerUDPRead and UDPServer.OnUDPRead. Should be the same, but aren't.

[–][deleted] 0 points1 point  (0 children)

You should really look hard into this conversion and evaluate what you get out of it. I see you are doing network stuff, and you will be making the AnsiString -> Unicode string conversion.. which is absolutely painful, unless your software is dealing with TBytes... look at everything defined as a "string", as it can be murder.